I'm not sure what exactly do you mean by "told". 1.3 will come with an :app:sourceSets task that prints out something in this form:
------------------------------------------------------------ Project :app ------------------------------------------------------------ androidTest ----------- Compile configuration: androidTestCompile build.gradle name: android.sourceSets.androidTest Java sources: [app/src/androidTest/java] Manifest file: app/src/androidTest/AndroidManifest.xml Android resources: [app/src/androidTest/res] Assets: [app/src/androidTest/assets] AIDL sources: [app/src/androidTest/aidl] RenderScript sources: [app/src/androidTest/rs] JNI sources: [app/src/androidTest/jni] JNI libraries: [app/src/androidTest/jniLibs] Java-style resources: [app/src/androidTest/resources] debug ----- Compile configuration: debugCompile build.gradle name: android.sourceSets.debug Java sources: [app/src/debug/java] Manifest file: app/src/debug/AndroidManifest.xml Android resources: [app/src/debug/res] Assets: [app/src/debug/assets] AIDL sources: [app/src/debug/aidl] RenderScript sources: [app/src/debug/rs] JNI sources: [app/src/debug/jni] JNI libraries: [app/src/debug/jniLibs] Java-style resources: [app/src/debug/resources] main ---- Compile configuration: compile build.gradle name: android.sourceSets.main Java sources: [app/src/main/java] Manifest file: app/src/main/AndroidManifest.xml Android resources: [app/src/main/res] Assets: [app/src/main/assets] AIDL sources: [app/src/main/aidl] RenderScript sources: [app/src/main/rs] JNI sources: [app/src/main/jni] JNI libraries: [app/src/main/jniLibs] Java-style resources: [app/src/main/resources] release ------- Compile configuration: releaseCompile build.gradle name: android.sourceSets.release Java sources: [app/src/release/java] Manifest file: app/src/release/AndroidManifest.xml Android resources: [app/src/release/res] Assets: [app/src/release/assets] AIDL sources: [app/src/release/aidl] RenderScript sources: [app/src/release/rs] JNI sources: [app/src/release/jni] JNI libraries: [app/src/release/jniLibs] Java-style resources: [app/src/release/resources] test ---- Compile configuration: testCompile build.gradle name: android.sourceSets.test Java sources: [app/src/test/java] Java-style resources: [app/src/test/resources] testDebug --------- Compile configuration: testDebugCompile build.gradle name: android.sourceSets.testDebug Java sources: [app/src/testDebug/java] Java-style resources: [app/src/testDebug/resources] testRelease ----------- Compile configuration: testReleaseCompile build.gradle name: android.sourceSets.testRelease Java sources: [app/src/testRelease/java] Java-style resources: [app/src/testRelease/resources] On Mon, Apr 27, 2015 at 5:53 AM Dzmitry Lazerka <[email protected]> wrote: > I was reading > http://tools.android.com/tech-docs/new-build-system/user-guide, and > thought: > Wouldn't it be cool if Android Gradle Plugin guide told what are > recommended way to structure directories of an app? > > For example, today Android Studio suggests to use > src/debug/AndroidManifest.xml if you add ACCESS_MOCK_LOCATION permissions > to it. But there's no hint from Gradle Plugin about that (which most people > I know consider as source-of-truth). > And how to override that location of manifest for debug (it's kinda hard > to google it, as most of recommendations are outdated)? > > Or that tests should be placed in src/androidTest/java (should they? all > or only integration tests, and unit-tests should go to src/test/java?). > > > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
