Skip to content

Commit

Permalink
update Build Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ChochaNaresh committed Aug 9, 2024
1 parent 3bb9667 commit fc753d7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions formz/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin.android)
id("maven-publish")
}

android {
Expand Down Expand Up @@ -29,7 +30,30 @@ android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}
publishing {
singleVariant("release") {
withSourcesJar()
withJavadocJar()
}
}
}

dependencies {
}

publishing {
publications {
create<MavenPublication>("release") {
groupId = "com.github.ChochaNaresh"
artifactId = "formz"
version = "0.0.1"

afterEvaluate {
from(components["release"])
/* from {
components.release
}*/
}
}
}
}

0 comments on commit fc753d7

Please sign in to comment.