mirror of
https://codeberg.org/timelimit/opentimelimit-android.git
synced 2025-10-03 09:49:24 +02:00
107 lines
3.5 KiB
Groovy
107 lines
3.5 KiB
Groovy
/*
|
|
* Open TimeLimit Copyright <C> 2019 Jonas Lochmann
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation version 3 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: "androidx.navigation.safeargs.kotlin"
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
androidExtensions {
|
|
experimental = true
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "io.timelimit.android.open"
|
|
minSdkVersion 19
|
|
targetSdkVersion 28
|
|
versionCode 3
|
|
versionName "0.2.1"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
kapt {
|
|
arguments {
|
|
arg("room.schemaLocation", "$projectDir/schemas".toString())
|
|
}
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
disable 'GoogleAppIndexingWarning'
|
|
baseline file("lint-baseline.xml")
|
|
}
|
|
|
|
dataBinding {
|
|
enabled = true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
def nav_version = "1.0.0-alpha11"
|
|
def room_version = "2.0.0"
|
|
def paging_version = "2.1.0-rc01"
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
|
|
|
|
implementation "android.arch.navigation:navigation-fragment-ktx:$nav_version"
|
|
implementation "android.arch.navigation:navigation-ui:$nav_version"
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
|
|
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
testImplementation "androidx.room:room-testing:$room_version"
|
|
|
|
implementation "androidx.paging:paging-runtime:$paging_version"
|
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.0'
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test:runner:1.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
|
|
|
|
implementation 'com.jakewharton.threetenabp:threetenabp:1.1.0'
|
|
|
|
implementation 'org.mindrot:jbcrypt:0.4'
|
|
|
|
implementation 'com.getkeepsafe.taptargetview:taptargetview:1.11.0'
|
|
|
|
implementation 'com.google.android:flexbox:1.0.0'
|
|
|
|
implementation 'com.jaredrummler:android-device-names:1.1.7'
|
|
|
|
implementation 'com.squareup.okio:okio:2.1.0'
|
|
}
|