sourceSet
android {
sourceSets {
main{
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
}
D:\AndroidWorkSpace\Qi\LocalM>gradlew sourceSet > Configure project : AAAA > Configure project :app NDK is missing a "platforms" directory. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\dong.li\AppData\Local\Android\Sdk\ndk-bundle. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning. Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead. DexKnife : MultiDexEnabled is false, it's not work. DexKnife : MultiDexEnabled is false, it's not work. > Configure project :testlibrary NDK is missing a "platforms" directory. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\dong.li\AppData\Local\Android\Sdk\ndk-bundle. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning. > Task :app:sourceSets ------------------------------------------------------------ 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] androidTestDebug ---------------- Compile configuration: androidTestDebugCompile build.gradle name: android.sourceSets.androidTestDebug Java sources: [app\src\androidTestDebug\java] Manifest file: app\src\androidTestDebug\AndroidManifest.xml Android resources: [app\src\androidTestDebug\res] Assets: [app\src\androidTestDebug\assets] AIDL sources: [app\src\androidTestDebug\aidl] RenderScript sources: [app\src\androidTestDebug\rs] JNI sources: [app\src\androidTestDebug\jni] JNI libraries: [app\src\androidTestDebug\jniLibs] Java-style resources: [app\src\androidTestDebug\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] > Task :testlibrary:sourceSets ------------------------------------------------------------ Project :testlibrary ------------------------------------------------------------ androidTest ----------- Compile configuration: androidTestCompile build.gradle name: android.sourceSets.androidTest Java sources: [testlibrary\src\androidTest\java] Manifest file: testlibrary\src\androidTest\AndroidManifest.xml Android resources: [testlibrary\src\androidTest\res] Assets: [testlibrary\src\androidTest\assets] AIDL sources: [testlibrary\src\androidTest\aidl] RenderScript sources: [testlibrary\src\androidTest\rs] JNI sources: [testlibrary\src\androidTest\jni] JNI libraries: [testlibrary\src\androidTest\jniLibs] Java-style resources: [testlibrary\src\androidTest\resources] androidTestDebug ---------------- Compile configuration: androidTestDebugCompile build.gradle name: android.sourceSets.androidTestDebug Java sources: [testlibrary\src\androidTestDebug\java] Manifest file: testlibrary\src\androidTestDebug\AndroidManifest.xml Android resources: [testlibrary\src\androidTestDebug\res] Assets: [testlibrary\src\androidTestDebug\assets] AIDL sources: [testlibrary\src\androidTestDebug\aidl] RenderScript sources: [testlibrary\src\androidTestDebug\rs] JNI sources: [testlibrary\src\androidTestDebug\jni] JNI libraries: [testlibrary\src\androidTestDebug\jniLibs] Java-style resources: [testlibrary\src\androidTestDebug\resources] debug ----- Compile configuration: debugCompile build.gradle name: android.sourceSets.debug Java sources: [testlibrary\src\debug\java] Manifest file: testlibrary\src\debug\AndroidManifest.xml Android resources: [testlibrary\src\debug\res] Assets: [testlibrary\src\debug\assets] AIDL sources: [testlibrary\src\debug\aidl] RenderScript sources: [testlibrary\src\debug\rs] JNI sources: [testlibrary\src\debug\jni] JNI libraries: [testlibrary\src\debug\jniLibs] Java-style resources: [testlibrary\src\debug\resources] main ---- Compile configuration: compile build.gradle name: android.sourceSets.main Java sources: [testlibrary\src\main\java] Manifest file: testlibrary\src\main\AndroidManifest.xml Android resources: [testlibrary\src\main\res] Assets: [testlibrary\src\main\assets] AIDL sources: [testlibrary\src\main\aidl] RenderScript sources: [testlibrary\src\main\rs] JNI sources: [testlibrary\src\main\jni] JNI libraries: [testlibrary\src\main\jniLibs] Java-style resources: [testlibrary\src\main\resources] release ------- Compile configuration: releaseCompile build.gradle name: android.sourceSets.release Java sources: [testlibrary\src\release\java] Manifest file: testlibrary\src\release\AndroidManifest.xml Android resources: [testlibrary\src\release\res] Assets: [testlibrary\src\release\assets] AIDL sources: [testlibrary\src\release\aidl] RenderScript sources: [testlibrary\src\release\rs] JNI sources: [testlibrary\src\release\jni] JNI libraries: [testlibrary\src\release\jniLibs] Java-style resources: [testlibrary\src\release\resources] test ---- Compile configuration: testCompile build.gradle name: android.sourceSets.test Java sources: [testlibrary\src\test\java] Java-style resources: [testlibrary\src\test\resources] testDebug --------- Compile configuration: testDebugCompile build.gradle name: android.sourceSets.testDebug Java sources: [testlibrary\src\testDebug\java] Java-style resources: [testlibrary\src\testDebug\resources] testRelease ----------- Compile configuration: testReleaseCompile build.gradle name: android.sourceSets.testRelease Java sources: [testlibrary\src\testRelease\java] Java-style resources: [testlibrary\src\testRelease\resources] BUILD SUCCESSFUL in 2s 2 actionable tasks: 2 executed D:\AndroidWorkSpace\Qi\LocalM>