mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
36 lines
854 B
Groovy
36 lines
854 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
}
|
|
|
|
android {
|
|
compileSdk = compile_sdk_version
|
|
buildToolsVersion = build_tool_version
|
|
namespace 'me.ag2s'
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 33
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
lint {
|
|
checkDependencies true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "com.android.tools.build:gradle:$agp_version"
|
|
implementation "androidx.annotation:annotation:1.6.0"
|
|
} |