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

67 lines
1.4 KiB
Groovy

plugins {
id 'com.android.library'
id 'kotlin-android'
id("cn.dailystudio.devbricksx.devkit") version "$devkit_version"
}
android {
defaultConfig {
namespace "com.dailystudio.devbricksx.notebook.core"
compileSdk COMPILE_SDK
minSdkVersion MINI_SDK
targetSdkVersion TARGET_SDK
versionCode VERSION_CODE
versionName VERSION_NAME
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
resValue "string", "api_key", "${project.UNSPLASH_API_KEY}"
multiDexEnabled true
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
debug {
}
release {
minifyEnabled false
}
}
buildFeatures {
buildConfig true
}
compileOptions {
sourceCompatibility JAVA_VERSION
targetCompatibility JAVA_VERSION
}
kotlinOptions {
jvmTarget = JVM_TARGET
}
}
devKit {
compileType = "Project"
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation "junit:junit:$junit_version"
androidTestImplementation "androidx.test.ext:junit:$android_junit_ext_version"
androidTestImplementation "androidx.test.espresso:espresso-core:$android_junit_espresso_version"
}