41 lines
1,002 B
Kotlin
41 lines
1,002 B
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "dev.nova.widget"
|
|
compileSdk = 35
|
|
buildToolsVersion = "35.0.0"
|
|
|
|
defaultConfig {
|
|
applicationId = "dev.nova.widget"
|
|
minSdk = 31 // Material You requires Android 12+
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "0.1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "21"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("com.google.android.material:material:1.12.0")
|
|
implementation("androidx.core:core-ktx:1.15.0")
|
|
implementation("androidx.glance:glance-appwidget:1.1.1")
|
|
implementation("androidx.glance:glance-material3:1.1.1")
|
|
}
|