aar 文件配置

 
  
//aar
repositories {
    flatDir {
        dirs 'libs'
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

    compile 'com.android.support:appcompat-v7:25.0.0'
    debugCompile (name:'leakcanary-android:1.5.2',ext:'aar')
    releaseCompile (name:'leakcanary-android-no-op:1.5.2',ext:'aar')
    
}


你可能感兴趣的:(aar 文件配置)