srctree

Robin Lindén parent 0464a554 072325bd
Move common build script configuration to the top level

inlinesplit
app/build.gradle added: 27, removed: 28, total 0
@@ -5,11 +5,11 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
 
android {
compileSdkVersion 28
compileSdkVersion sdk_version
defaultConfig {
applicationId "ltd.evilcorp.atox"
minSdkVersion 21
targetSdkVersion 28
minSdkVersion min_sdk_version
targetSdkVersion sdk_version
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -21,8 +21,8 @@ android {
}
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
sourceCompatibility = java_version
targetCompatibility = java_version
}
lintOptions {
abortOnError true
 
build.gradle added: 27, removed: 28, total 0
@@ -1,5 +1,18 @@
buildscript {
ext.kotlin_version = '1.3.41'
ext {
// Configuration
sdk_version = 28
min_sdk_version = 21
java_version = '1.8'
kotlin_version = '1.3.41'
 
// Dependencies
coroutines_version = '1.2.1'
dagger_version = '2.23.1'
lifecycle_version = '2.2.0-alpha02'
room_version = '2.1.0'
navigation_version = '2.1.0-beta02'
}
repositories {
google()
jcenter()
@@ -17,16 +30,6 @@ allprojects {
}
}
 
buildscript {
ext {
coroutines_version = '1.2.1'
dagger_version = '2.23.1'
lifecycle_version = '2.2.0-alpha02'
room_version = '2.1.0'
navigation_version = '2.1.0-beta02'
}
}
 
task clean(type: Delete) {
delete rootProject.buildDir
}
 
core/build.gradle added: 27, removed: 28, total 0
@@ -4,10 +4,10 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
 
android {
compileSdkVersion 28
compileSdkVersion sdk_version
defaultConfig {
minSdkVersion 21
targetSdkVersion 28
minSdkVersion min_sdk_version
targetSdkVersion sdk_version
versionCode 1
versionName "1.0"
}
@@ -18,8 +18,8 @@ android {
}
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
sourceCompatibility = java_version
targetCompatibility = java_version
}
lintOptions {
abortOnError true
@@ -27,10 +27,6 @@ android {
}
}
 
ext {
room_version = '2.1.0'
}
 
dependencies {
// Stdlib
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"