added config.gradle to RoboSwag
This commit is contained in:
parent
7c9a79a21d
commit
ba78cd441b
|
|
@ -0,0 +1,7 @@
|
|||
apply plugin: 'com.android.application'
|
||||
|
||||
apply from: '../RoboSwag/android-configs/common-config.gradle'
|
||||
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
|
||||
multiDexEnabled = true
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
apply plugin: 'com.android.library'
|
||||
|
||||
apply from: '../android-configs/common-config.gradle'
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
plugins {
|
||||
`kotlin-dsl`
|
||||
`kotlin-dsl-precompiled-script-plugins`
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.android.tools.build:gradle:4.0.0")
|
||||
|
||||
implementation("com.android.tools.build:gradle-api:4.0.0")
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61")
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61")
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
|
||||
plugins {
|
||||
id("com.android.application") apply false
|
||||
id("kotlin-android")
|
||||
id("kotlin-android-extensions")
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion(29)
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion(21)
|
||||
targetSdkVersion(29)
|
||||
|
||||
multiDexEnabled = true
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
implementation-class=plugins.AndroidAppPlugin
|
||||
Loading…
Reference in New Issue