Skip to content

Commit

Permalink
-library setup
Browse files Browse the repository at this point in the history
  • Loading branch information
PanktiSP13 committed Dec 19, 2024
1 parent 973f316 commit 5209b1f
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions textmodifier/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ android {
kotlinOptions {
jvmTarget = "11"
}
publishing {
publishing {
singleVariant("release") {
withSourcesJar()
withJavadocJar()
}
}
}
}

dependencies {
Expand All @@ -48,16 +40,17 @@ dependencies {
androidTestImplementation(libs.androidx.espresso.core)
}

//publishing {
// publications {
// release(MavenPublication) {
// groupId ="com.github.PanktiSP13"
// artifactId = "TextLibrary"
// version = "1.0.0"
//
// afterEvaluate {
// from components.release
// }
// }
// }
//}

publishing {
publications {
create<MavenPublication>("release") {
afterEvaluate {
from(components["release"])
}

groupId = "com.github.PanktiSP13"
artifactId = "TextLibrary"
version = "1.0.0"
}
}
}

0 comments on commit 5209b1f

Please sign in to comment.