- Android 10+ 公共目录自动转换 Uri 模式并持久化原始路径 - 增加 Uri 可写校验与 MediaStore 行失效重建逻辑 - 修复空文件路径导致的异常及线程失败异常回传问题 - 版本号升级至 3.8.18-beta-1
51 lines
1.3 KiB
Groovy
51 lines
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
namespace "com.arialyy.aria.publiccomponent"
|
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
versionCode rootProject.ext.versionCode
|
|
versionName rootProject.ext.versionName
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
debuggable true
|
|
}
|
|
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.annotation:annotation:1.2.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
}
|
|
|
|
//apply from: 'bintray-release.gradle'
|
|
ext {
|
|
PUBLISH_ARTIFACT_ID = 'public'
|
|
}
|
|
apply from: '../gradle/mavenCentral-release.gradle' |