dannyjiajia / gradle-java-preprocessor-plugin Goto Github PK
View Code? Open in Web Editor NEWa gradle adaptation of the Antenna preprocessor task for android
a gradle adaptation of the Antenna preprocessor task for android
When combining flavors using dimensions, each build variant can contain multiple flavors. When the processor plugin creates the tasks in PreprocessorPlugin.groovy
, the configProject
method tries to create a task for every flavor multiple times, which leads to a Gradle error. Only one flavor name and the build type are used for the task name, which has to be unique.
Am I missing something or does this not support flavor dimensions?
WARNING: API 'variant.getPreBuild()' is obsolete and has been replaced with 'variant.getPreBuildProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getPreBuild(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
Hi,
is that possible to combine all types of flavorDimensions and buildTypes.
For example;
default buildTypes
buildTypes {
release {
}
debug {
}
}
and custom flavorDimensions
flavorDimensions "environment", "company"
productFlavors {
pilot {
processor.symbols "PILOT"
dimension "environment"
}
internal {
processor.symbols "INTERNAL"
dimension "environment"
}
prod {
processor.symbols "PROD"
dimension "environment"
}
DD{
processor.symbols "DD"
dimension "company"
}
MM{
processor.symbols "MM"
dimension "company"
}
}
no i want to work with "prodMMDebug" - "pilotMMDebug" - "prodMMRelease" ...etc.
how can i do that ?
Hi! any chance to upload the plugin to maven central? I was using this pluging for over years and today I got an error trying to build it. Seems like Jcenter has been definitely shutdown. Can you help me? Let me know if there is something I can do on my side to help.
Thank you very much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.