mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 04:27:02 +05:30
55 lines
2 KiB
Groovy
55 lines
2 KiB
Groovy
plugins {
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
defaultConfig {
|
|
applicationId "dev.msfjarvis.todo"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerVersion '1.4.0'
|
|
kotlinCompilerExtensionVersion "${compose_version}"
|
|
}
|
|
}
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|
kotlinOptions {
|
|
freeCompilerArgs += ["-Xallow-jvm-ir-dependencies", "-Xskip-prerelease-check"]
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation(project(":data"))
|
|
implementation 'androidx.core:core-ktx:1.5.0-alpha02'
|
|
implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
|
|
implementation "androidx.compose.foundation:foundation:$compose_version"
|
|
implementation "androidx.compose.foundation:foundation-layout:$compose_version"
|
|
implementation "androidx.compose.foundation:foundation-text:$compose_version"
|
|
implementation "androidx.compose.runtime:runtime:$compose_version"
|
|
implementation "androidx.compose.material:material:$compose_version"
|
|
implementation "androidx.compose:compose-compiler:$compose_version"
|
|
implementation "androidx.compose.ui:ui:$compose_version"
|
|
implementation "androidx.compose.ui:ui-text:$compose_version"
|
|
implementation "androidx.compose.ui:ui-text-android:$compose_version"
|
|
implementation "androidx.compose.ui:ui-unit:$compose_version"
|
|
implementation "androidx.ui:ui-tooling:$compose_version"
|
|
implementation 'com.google.android.material:material:1.3.0-alpha02'
|
|
testImplementation 'junit:junit:4.13'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
androidTestImplementation "androidx.ui:ui-test:$compose_version"
|
|
}
|