Files
AndroidJava/devbricksx-android/sample-gallery-compose/build.gradle
T
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

69 lines
1.7 KiB
Groovy

plugins {
id 'com.android.application'
id 'kotlin-android'
id 'androidx.navigation.safeargs'
id("cn.dailystudio.devbricksx.devkit") version "$devkit_version"
}
android {
defaultConfig {
applicationId "com.dailystudio.devbricksx.gallery.compose"
namespace "com.dailystudio.devbricksx.gallery.compose"
compileSdk COMPILE_SDK
minSdkVersion MINI_SDK
targetSdkVersion TARGET_SDK
versionCode VERSION_CODE
versionName VERSION_NAME
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
buildFeatures {
buildConfig true
}
compileOptions {
sourceCompatibility JAVA_VERSION
targetCompatibility JAVA_VERSION
}
kotlinOptions {
jvmTarget = JVM_TARGET
}
}
devKit {
compileType = "Project"
devKitComps = [ "Network", "Compose"]
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation(project(":sample-gallery-core"))
implementation "com.google.accompanist:accompanist-systemuicontroller:0.36.0"
implementation "androidx.navigation:navigation-compose:$nav_version"
testImplementation "junit:junit:$junit_version"
androidTestImplementation "androidx.test.ext:junit:$android_junit_ext_version"
androidTestImplementation "androidx.test.espresso:espresso-core:$android_junit_espresso_version"
}