added config.gradle to RoboSwag

This commit is contained in:
alex 2020-06-15 17:13:48 +03:00
parent 7c9a79a21d
commit ba78cd441b
6 changed files with 78 additions and 0 deletions

View File

@ -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'

View File

@ -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()
}
}

View File

@ -0,0 +1,3 @@
apply plugin: 'com.android.library'
apply from: '../android-configs/common-config.gradle'

View File

@ -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")
}

View File

@ -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()
}
}

View File

@ -0,0 +1 @@
implementation-class=plugins.AndroidAppPlugin