diff --git a/jchucomponentscompose/build.gradle.kts b/jchucomponentscompose/build.gradle.kts index 231da609..61fbd1f5 100644 --- a/jchucomponentscompose/build.gradle.kts +++ b/jchucomponentscompose/build.gradle.kts @@ -4,16 +4,6 @@ plugins { id("maven-publish") } -publishing { - publications { - create("maven") { - groupId = "com.github.Jeluchu" - artifactId = "jchucomponents-compose" - version = "0.1.0" - } - } -} - android { compileSdk = 30 @@ -30,6 +20,15 @@ android { kotlinCompilerExtensionVersion = "1.0.1" } + buildTypes { + release { + isMinifyEnabled = false + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) } + } + compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 @@ -92,4 +91,16 @@ dependencies { // THIRD PARTY DEPENDENCIES -------------------------------------------------------------------- implementation("io.coil-kt:coil-compose:1.3.2") +} + +afterEvaluate { + publishing { + publications { + create("release") { + groupId = "com.github.Jeluchu" + artifactId = "jchucomponents-compose" + version = "0.0.1" + } + } + } } \ No newline at end of file