Skip to content

Commit

Permalink
Include components to publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluchu committed Aug 14, 2021
1 parent 81149b4 commit 02ad2d7
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions jchucomponentscompose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ plugins {
id("maven-publish")
}

publishing {
publications {
create<MavenPublication>("maven") {
groupId = "com.github.Jeluchu"
artifactId = "jchucomponents-compose"
version = "0.1.0"
}
}
}

android {

compileSdk = 30
Expand All @@ -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
Expand Down Expand Up @@ -92,4 +91,16 @@ dependencies {
// THIRD PARTY DEPENDENCIES --------------------------------------------------------------------
implementation("io.coil-kt:coil-compose:1.3.2")

}

afterEvaluate {
publishing {
publications {
create<MavenPublication>("release") {
groupId = "com.github.Jeluchu"
artifactId = "jchucomponents-compose"
version = "0.0.1"
}
}
}
}

0 comments on commit 02ad2d7

Please sign in to comment.