80 lines
2.4 KiB
Groovy
80 lines
2.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
android {
|
|
compileSdk 34
|
|
|
|
namespace 'org.secuso.aktivpause'
|
|
defaultConfig {
|
|
applicationId "org.secuso.aktivpause"
|
|
minSdkVersion 21
|
|
targetSdkVersion 34
|
|
versionCode 11
|
|
versionName "1.2.2"
|
|
vectorDrawables.useSupportLibrary = true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
buildFeatures {
|
|
buildConfig true
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_17.toString()
|
|
}
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
}
|
|
lint {
|
|
lintConfig = file("lint.xml")
|
|
abortOnError false
|
|
checkReleaseBuilds false
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
implementation 'com.google.android.material:material:1.6.0'
|
|
implementation 'com.github.bumptech.glide:glide:4.9.0'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'androidx.annotation:annotation:1.6.0'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'com.nex3z:flow-layout:1.0.0'
|
|
implementation 'com.readystatesoftware.sqliteasset:sqliteassethelper:2.0.1'
|
|
testImplementation 'junit:junit:4.12'
|
|
// https://github.com/ShawnLin013/NumberPicker
|
|
implementation 'io.github.ShawnLin013:number-picker:2.4.13'
|
|
|
|
// Backup
|
|
implementation project(path: ':backup-api')
|
|
def work_version = "2.4.0"
|
|
implementation "androidx.work:work-runtime:$work_version"
|
|
implementation "androidx.work:work-runtime-ktx:$work_version"
|
|
androidTestImplementation "androidx.work:work-testing:$work_version"
|
|
implementation 'androidx.sqlite:sqlite-ktx:2.3.1'
|
|
|
|
constraints {
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0") {
|
|
because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib")
|
|
}
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0") {
|
|
because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
|
|
}
|
|
}
|
|
}
|