69 lines
1.7 KiB
Groovy
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.notebook.compose"
|
|
namespace "com.dailystudio.devbricksx.notebook.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'
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig true
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JAVA_VERSION
|
|
targetCompatibility JAVA_VERSION
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JVM_TARGET
|
|
}
|
|
}
|
|
|
|
devKit {
|
|
compileType = "Project"
|
|
devKitComps = [ "Compose" ]
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation(project(":sample-notebook-core"))
|
|
|
|
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"
|
|
}
|