Assigned
Status Update
Comments
je...@google.com <je...@google.com>
au...@google.com <au...@google.com> #2
Kun: Can you verify this issue still occurs with latest stable version (AS 3.3 at this time) and latest beta (AS 3.4 Beta 4). Also, please check if this occurs with a Java project, or only with a Kotlin project.
mi...@google.com <mi...@google.com> #3
Looks like this is intended change (ag/3170203). We changed BuildMode from 'COMPILE_JAVA' to 'ASSEMBLE'. Thus, gradle task like 'app:compileDebugUnitTestSources' no longer exits. Meaning, we don't compile test when make project. We only have gradle task like 'app:assembleDebug' (if only base app with debug build variant).
Below is the comment from the CL, that we can get some idea what is current behavior.
"we only explicityly build:
a. App modules
b. Non-app modules that no other module depends on
This way, both the IDE and Gradle perform less work",
Below is the comment from the CL, that we can get some idea what is current behavior.
"we only explicityly build:
a. App modules
b. Non-app modules that no other module depends on
This way, both the IDE and Gradle perform less work",
Description
Proposed timeline:
AGP 9.0:
android.defaults.buildfeatures.resvalues
and a refactoring option to migrate it to the DSL (android.buildFeatures.resValues
) (android.defaults.buildfeatures.resvalues
to falseAGP 10.0:
android.defaults.buildfeatures.resvalues