mirror of
https://github.com/AdrianKuta/Tree-Data-Structure.git
synced 2025-04-19 06:59:03 +02:00
47 lines
1.3 KiB
Groovy
47 lines
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
afterEvaluate {
|
|
generateReleaseBuildConfig.enabled = false
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
buildToolsVersion "33.0.0"
|
|
|
|
|
|
defaultConfig {
|
|
minSdkVersion 15
|
|
targetSdkVersion 33
|
|
versionName "2.1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
namespace 'com.github.adriankuta.datastructure.tree'
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
implementation 'androidx.appcompat:appcompat:1.5.1'
|
|
implementation 'androidx.core:core-ktx:1.9.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
|
|
}
|
|
|
|
ext {
|
|
PUBLISH_GROUP_ID = 'com.github.adriankuta'
|
|
PUBLISH_ARTIFACT_ID = 'tree-structure'
|
|
PUBLISH_VERSION = android.defaultConfig.versionName
|
|
}
|
|
|
|
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle"
|