我是gradle的新手,我有一个依赖性的问题.我有以下项目结构:
-MyApp
-MyAppLibrary
-MyAppPro
-MyAppFree
-ThirdPartyLibraryWrapper
--libs\ThirdPartyLibrary.aar
Run Code Online (Sandbox Code Playgroud)
无论MyAppPro和MyAppFree依靠MyAppLibrary,这就要看ThirdPartyLibraryWrapper.顾名思义,它ThirdPartyLibraryWrapper是外部库的包装器,即ThirdPartyLibrary.aar.
这是我的配置:
build.gradle MyAppPro
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.example"
minSdkVersion 8
targetSdkVersion 22
}
buildTypes {
release {
minifyEnabled true
proguardFiles 'proguard.cfg'
}
}
}
dependencies {
compile project(':MyAppLibrary')
}
Run Code Online (Sandbox Code Playgroud)
build.gradle MyAppLibrary
apply plugin: 'com.android.library'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 8
targetSdkVersion 22
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7 …Run Code Online (Sandbox Code Playgroud) Firebase崩溃是一个很酷的工具,但我认为没有任何方法可以在构建后通过API以编程方式上传Proguard映射文件.
最近,"自动化文件上传"选项应用程序,但在学习更多链接中实际上没有信息可用.
有谁知道更多的东西?