• 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:AndroidWorkSpaceQiLocalM>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:Usersdong.liAppDataLocalAndroidSdk
    dk-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:Usersdong.liAppDataLocalAndroidSdk
    dk-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: [appsrcandroidTestjava]
    Manifest file: appsrcandroidTestAndroidManifest.xml
    Android resources: [appsrcandroidTest
    es]
    Assets: [appsrcandroidTestassets]
    AIDL sources: [appsrcandroidTestaidl]
    RenderScript sources: [appsrcandroidTest
    s]
    JNI sources: [appsrcandroidTestjni]
    JNI libraries: [appsrcandroidTestjniLibs]
    Java-style resources: [appsrcandroidTest
    esources]
    
    androidTestDebug
    ----------------
    Compile configuration: androidTestDebugCompile
    build.gradle name: android.sourceSets.androidTestDebug
    Java sources: [appsrcandroidTestDebugjava]
    Manifest file: appsrcandroidTestDebugAndroidManifest.xml
    Android resources: [appsrcandroidTestDebug
    es]
    Assets: [appsrcandroidTestDebugassets]
    AIDL sources: [appsrcandroidTestDebugaidl]
    RenderScript sources: [appsrcandroidTestDebug
    s]
    JNI sources: [appsrcandroidTestDebugjni]
    JNI libraries: [appsrcandroidTestDebugjniLibs]
    Java-style resources: [appsrcandroidTestDebug
    esources]
    
    debug
    -----
    Compile configuration: debugCompile
    build.gradle name: android.sourceSets.debug
    Java sources: [appsrcdebugjava]
    Manifest file: appsrcdebugAndroidManifest.xml
    Android resources: [appsrcdebug
    es]
    Assets: [appsrcdebugassets]
    AIDL sources: [appsrcdebugaidl]
    RenderScript sources: [appsrcdebug
    s]
    JNI sources: [appsrcdebugjni]
    JNI libraries: [appsrcdebugjniLibs]
    Java-style resources: [appsrcdebug
    esources]
    
    main
    ----
    Compile configuration: compile
    build.gradle name: android.sourceSets.main
    Java sources: [appsrcmainjava]
    Manifest file: appsrcmainAndroidManifest.xml
    Android resources: [appsrcmain
    es]
    Assets: [appsrcmainassets]
    AIDL sources: [appsrcmainaidl]
    RenderScript sources: [appsrcmain
    s]
    JNI sources: [appsrcmainjni]
    JNI libraries: [appsrcmainjniLibs]
    Java-style resources: [appsrcmain
    esources]
    
    release
    -------
    Compile configuration: releaseCompile
    build.gradle name: android.sourceSets.release
    Java sources: [appsrc
    eleasejava]
    Manifest file: appsrc
    eleaseAndroidManifest.xml
    Android resources: [appsrc
    elease
    es]
    Assets: [appsrc
    eleaseassets]
    AIDL sources: [appsrc
    eleaseaidl]
    RenderScript sources: [appsrc
    elease
    s]
    JNI sources: [appsrc
    eleasejni]
    JNI libraries: [appsrc
    eleasejniLibs]
    Java-style resources: [appsrc
    elease
    esources]
    
    test
    ----
    Compile configuration: testCompile
    build.gradle name: android.sourceSets.test
    Java sources: [appsrc	estjava]
    Java-style resources: [appsrc	est
    esources]
    
    testDebug
    ---------
    Compile configuration: testDebugCompile
    build.gradle name: android.sourceSets.testDebug
    Java sources: [appsrc	estDebugjava]
    Java-style resources: [appsrc	estDebug
    esources]
    
    testRelease
    -----------
    Compile configuration: testReleaseCompile
    build.gradle name: android.sourceSets.testRelease
    Java sources: [appsrc	estReleasejava]
    Java-style resources: [appsrc	estRelease
    esources]
    
    
    > Task :testlibrary:sourceSets
    
    ------------------------------------------------------------
    Project :testlibrary
    ------------------------------------------------------------
    
    androidTest
    -----------
    Compile configuration: androidTestCompile
    build.gradle name: android.sourceSets.androidTest
    Java sources: [testlibrarysrcandroidTestjava]
    Manifest file: testlibrarysrcandroidTestAndroidManifest.xml
    Android resources: [testlibrarysrcandroidTest
    es]
    Assets: [testlibrarysrcandroidTestassets]
    AIDL sources: [testlibrarysrcandroidTestaidl]
    RenderScript sources: [testlibrarysrcandroidTest
    s]
    JNI sources: [testlibrarysrcandroidTestjni]
    JNI libraries: [testlibrarysrcandroidTestjniLibs]
    Java-style resources: [testlibrarysrcandroidTest
    esources]
    
    androidTestDebug
    ----------------
    Compile configuration: androidTestDebugCompile
    build.gradle name: android.sourceSets.androidTestDebug
    Java sources: [testlibrarysrcandroidTestDebugjava]
    Manifest file: testlibrarysrcandroidTestDebugAndroidManifest.xml
    Android resources: [testlibrarysrcandroidTestDebug
    es]
    Assets: [testlibrarysrcandroidTestDebugassets]
    AIDL sources: [testlibrarysrcandroidTestDebugaidl]
    RenderScript sources: [testlibrarysrcandroidTestDebug
    s]
    JNI sources: [testlibrarysrcandroidTestDebugjni]
    JNI libraries: [testlibrarysrcandroidTestDebugjniLibs]
    Java-style resources: [testlibrarysrcandroidTestDebug
    esources]
    
    debug
    -----
    Compile configuration: debugCompile
    build.gradle name: android.sourceSets.debug
    Java sources: [testlibrarysrcdebugjava]
    Manifest file: testlibrarysrcdebugAndroidManifest.xml
    Android resources: [testlibrarysrcdebug
    es]
    Assets: [testlibrarysrcdebugassets]
    AIDL sources: [testlibrarysrcdebugaidl]
    RenderScript sources: [testlibrarysrcdebug
    s]
    JNI sources: [testlibrarysrcdebugjni]
    JNI libraries: [testlibrarysrcdebugjniLibs]
    Java-style resources: [testlibrarysrcdebug
    esources]
    
    main
    ----
    Compile configuration: compile
    build.gradle name: android.sourceSets.main
    Java sources: [testlibrarysrcmainjava]
    Manifest file: testlibrarysrcmainAndroidManifest.xml
    Android resources: [testlibrarysrcmain
    es]
    Assets: [testlibrarysrcmainassets]
    AIDL sources: [testlibrarysrcmainaidl]
    RenderScript sources: [testlibrarysrcmain
    s]
    JNI sources: [testlibrarysrcmainjni]
    JNI libraries: [testlibrarysrcmainjniLibs]
    Java-style resources: [testlibrarysrcmain
    esources]
    
    release
    -------
    Compile configuration: releaseCompile
    build.gradle name: android.sourceSets.release
    Java sources: [testlibrarysrc
    eleasejava]
    Manifest file: testlibrarysrc
    eleaseAndroidManifest.xml
    Android resources: [testlibrarysrc
    elease
    es]
    Assets: [testlibrarysrc
    eleaseassets]
    AIDL sources: [testlibrarysrc
    eleaseaidl]
    RenderScript sources: [testlibrarysrc
    elease
    s]
    JNI sources: [testlibrarysrc
    eleasejni]
    JNI libraries: [testlibrarysrc
    eleasejniLibs]
    Java-style resources: [testlibrarysrc
    elease
    esources]
    
    test
    ----
    Compile configuration: testCompile
    build.gradle name: android.sourceSets.test
    Java sources: [testlibrarysrc	estjava]
    Java-style resources: [testlibrarysrc	est
    esources]
    
    testDebug
    ---------
    Compile configuration: testDebugCompile
    build.gradle name: android.sourceSets.testDebug
    Java sources: [testlibrarysrc	estDebugjava]
    Java-style resources: [testlibrarysrc	estDebug
    esources]
    
    testRelease
    -----------
    Compile configuration: testReleaseCompile
    build.gradle name: android.sourceSets.testRelease
    Java sources: [testlibrarysrc	estReleasejava]
    Java-style resources: [testlibrarysrc	estRelease
    esources]
    
    
    
    BUILD SUCCESSFUL in 2s
    2 actionable tasks: 2 executed
    D:AndroidWorkSpaceQiLocalM>


  • 相关阅读:
    调试脚本的技巧与实际应用
    mysqlconnector将EXCEL表数据导入数据库
    第四十三节,文件、文件夹、压缩包、处理模块shutil
    第四十二节,configparser特定格式的ini配置文件模块
    第四十一节,xml处理模块
    第四十节,requests模拟浏览器请求模块初识
    第三十九节,python内置全局变量
    第三十八节,字符串格式化
    第三十七节,hashlib加密模块
    第三十六节,os系统级别操作模块
  • 原文地址:https://www.cnblogs.com/the-wang/p/10272610.html
Copyright © 2020-2023  润新知