59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
val androidCompileSdkVersion: Int by rootProject.extra
|
|
val androidMinSdkVersion: Int by rootProject.extra
|
|
val androidTargetSdkVersion: Int by rootProject.extra
|
|
|
|
val defaultManagerPackageName: String by rootProject.extra
|
|
val verCode: Int by rootProject.extra
|
|
val verName: String by rootProject.extra
|
|
|
|
val androidSourceCompatibility: JavaVersion by rootProject.extra
|
|
val androidTargetCompatibility: JavaVersion by rootProject.extra
|
|
|
|
plugins {
|
|
id("com.android.application")
|
|
kotlin("android")
|
|
}
|
|
|
|
android {
|
|
compileSdk = androidCompileSdkVersion
|
|
|
|
defaultConfig {
|
|
applicationId = defaultManagerPackageName
|
|
minSdk = androidMinSdkVersion
|
|
targetSdk = androidTargetSdkVersion
|
|
versionCode = verCode
|
|
versionName = verName
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = androidSourceCompatibility
|
|
targetCompatibility = androidTargetCompatibility
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":patch"))
|
|
compileOnly(project(":lspcore"))
|
|
implementation(project(":imanager"))
|
|
|
|
implementation("androidx.core:core-ktx:1.7.0")
|
|
implementation("androidx.appcompat:appcompat:1.4.1")
|
|
implementation("com.google.android.material:material:1.5.0")
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.3")
|
|
}
|