52 lines
1.1 KiB
Groovy
52 lines
1.1 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
alias libs.plugins.spotless
|
|
}
|
|
|
|
apply from: '../buildCompose.gradle'
|
|
|
|
ext {
|
|
PUBLISH_GROUP_ID = 'de.charlex.compose'
|
|
PUBLISH_VERSION = '2.0.0-beta02'
|
|
PUBLISH_ARTIFACT_ID = 'revealswipe'
|
|
}
|
|
|
|
apply from: '../_publish.gradle'
|
|
|
|
android {
|
|
namespace = "de.charlex.compose.revealswipe"
|
|
compileSdk libs.versions.compileSdk.get().toInteger()
|
|
|
|
defaultConfig {
|
|
minSdk libs.versions.minSdk.get().toInteger()
|
|
targetSdk libs.versions.targetSdk.get().toInteger()
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig = false
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.kotlin.stdlib.jdk8
|
|
}
|