forked from mirrors/Fedilab
35 lines
936 B
Groovy
35 lines
936 B
Groovy
|
apply plugin: 'com.android.library'
|
||
|
|
||
|
group = 'com.github.stom79'
|
||
|
android {
|
||
|
compileSdkVersion 31
|
||
|
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 15
|
||
|
targetSdkVersion 31
|
||
|
versionCode 7
|
||
|
versionName "3.0"
|
||
|
}
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
buildConfigField("String","VERSION_NAME","\"${defaultConfig.versionName}\"")
|
||
|
}
|
||
|
debug{
|
||
|
buildConfigField("String","VERSION_NAME","\"${defaultConfig.versionName}\"")
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||
|
implementation "com.google.code.gson:gson:2.8.6"
|
||
|
}
|