SubwayTooter-Android-App/anko/build.gradle

49 lines
1.5 KiB
Groovy
Raw Normal View History

plugins {
id "com.android.library"
id "org.jetbrains.kotlin.android"
id "org.jetbrains.kotlin.kapt"
}
android {
namespace "jp.juggler.anko"
compileSdk stCompileSdkVersion
buildToolsVersion stBuildToolsVersion
defaultConfig {
minSdk stMinSdkVersion
targetSdk stTargetSdkVersion
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = kotlinJvmTarget
}
}
dependencies {
implementation "androidx.core:core-ktx:$coreKtxVersion"
implementation "androidx.appcompat:appcompat:$appcompatVersion"
implementation "com.google.android.material:material:$materialVersion"
testImplementation "junit:junit:$junitVersion"
androidTestImplementation "androidx.test.ext:junit:$androidxTestExtJunitVersion"
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxTestEspressoCoreVersion"
implementation "androidx.preference:preference:$preferenceVersion"
implementation "androidx.preference:preference-ktx:$preferenceVersion"
kapt "androidx.annotation:annotation:$androidxAnnotationVersion"
}