Skip to content

Commit

Permalink
add references and cleanup gradle file
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Aug 6, 2024
1 parent 9d0c741 commit 3d03e5c
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions icmp-lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ gitVersioning.apply {
}
}

// see: https://github.com/vanniktech/gradle-maven-publish-plugin/issues/747#issuecomment-2066762725
// and: https://github.com/GradleUp/nmcp
nmcp {
val props = project.properties
publishAllPublications {
Expand All @@ -69,6 +71,7 @@ nmcp {
}
}

// see: https://vanniktech.github.io/gradle-maven-publish-plugin/central/#configuring-the-pom
mavenPublishing {
coordinates("com.jasonernst.icmp_lib", "icmp_lib", version.toString())
pom {
Expand Down Expand Up @@ -96,27 +99,4 @@ mavenPublishing {
developerConnection = "scm:git:ssh://[email protected]/compscidr/icmp-android.git"
}
}
}

// https://opensource.deepmedia.io/deployer
// https://blog.deepmedia.io/post/how-to-publish-to-maven-central-in-2024
//deployer {
// projectInfo {
// description = "A library for sending and receiving ICMP packets on Android"
// url = "https://github.com/compscidr/icmp-android/"
// groupId = "com.jasonernst"
// artifactId = "icmp-android"
// license("GPL-3.0", "https://www.gnu.org/licenses/gpl-3.0.en.html")
// developer("compscidr", "[email protected]", "Jason Ernst", "https://www.jasonernst.com")
// }
//
// centralPortalSpec {
// // Take these credentials from the Generate User Token page at https://central.sonatype.com/account
// auth.user.set(secret("centralPortalToken"))
// auth.password.set(secret("centralPortalPassword"))
//
// // Signing is required
// signing.key.set(secret("signingKey"))
// signing.password.set(secret("signingKeyPassword"))
// }
//}
}

0 comments on commit 3d03e5c

Please sign in to comment.