Comments (3)
Right now you could do single-flavor counts by doing ./gradlew assembleFlavor1Release
, which would build and dex just that one flavor - I'm actually in your same boat (with NDK plus multiple flavors), so that's what I do.
The way it currently works, the count task's name and existence is predicated entirely on what variants are being assembled. Can you just update the counts directly from the build
job?
from dexcount-gradle-plugin.
I figured out yesterday that those summary tasks don't really help. I had the assumption that the count tasks depend on something other than the actual APK(s). Since the check
Jenkins Job never actually builds APKs those summary tasks are useless.
I guess your solution of using ./gradlew assembleFlavor1Release
is best. Maybe I'll just do another Jenkins Build that only plots the dexcounts and does nothing else as that would not take that long since Unit Tests and all of the static analyze tools won't run. Also an incremental build for that Jenkins task would be an option in order to speed up the build process.
from dexcount-gradle-plugin.
As it doesn't seem that there is anything to do, I'm closing this issue.
from dexcount-gradle-plugin.
Related Issues (20)
- Split DexCountTask into package-tree-producing and stdout-printing tasks
- Add a high-fidelity serialized format for PackageTree HOT 1
- Github CI actions
- Serialized PackageTree is too big on disk HOT 2
- Document new minimum Gradle version
- Document new minimum AGP version
- Move DexMethodCountPluginSpec to integrationTest sources
- Crash when running in Android Studio 4.0.1
- The new count* tasks do not upload the Proguard mapping file to Crashlytics HOT 1
- Build fails with AS 4.2-Canary HOT 4
- [AGP 4.2+] java.lang.NoSuchMethodError: 'void com.android.build.api.dsl.ApplicationExtension.onVariantProperties(kotlin.jvm.functions.Function1)' HOT 12
- Convert to Java, use Worker API HOT 4
- Release version with AGP 7.0 support. HOT 5
- Plugin Extensions property getters clash with fields when used in Groovy HOT 2
- Build failure with 3.x.x HOT 5
- I have an error: "Cannot convert relative path summary.csv to an absolute file. " HOT 6
- Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'OutputFormat' for extension 'dexcount' of type com.getkeepsafe.dexcount.DexCountExtension. HOT 8
- [Feature Request] Allow Dexcount Gradle plugin to be configured from "plugins" DSL HOT 4
- Consider dropping support for AGP < 4.1 HOT 1
- OutputFormat configuration not clear defined in the documentation HOT 2
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 dexcount-gradle-plugin.