Comments (1)
You should be able to make it work by declaring it as both compileOnly
and annotationProcessor
Reason being that I ship both the annotation and the annotation processor in same dependency.
If you declare it only as compileOnly
then annotation processor won't run, if you declare it only as annotationProcessor
then the annotation won't be available, thus you need to declare as both:
compileOnly 'com.pushtorefresh:javac-warning-annotation:1.0.0'
annotationProcessor 'com.pushtorefresh:javac-warning-annotation:1.0.0'
from javac-warning-annotation.
Related Issues (10)
- CI with Travis-ci.org HOT 1
- Publish to the jCenter and mavenCentral
- Seems that annotation does not work in anonymous class
- Good usage case for README
- Add a screenshot from IDEA to README
- Check maven build requirements for Annotation Processing
- Add AndroidArsenal badge to README
- Add info about Jenkins Warning plugin to README
- Add possibilty to choose the level of message in the compiler by adding a attribute in the annotation Warning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javac-warning-annotation.