File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
22 `java- library`
33 `checkstyle`
4+ id(" com.vanniktech.maven.publish" ) version " 0.36.0"
45}
56
67java {
78 toolchain { languageVersion.set(JavaLanguageVersion .of(21 )) }
8- withSourcesJar()
9- withJavadocJar()
109}
1110
1211repositories {
@@ -20,3 +19,34 @@ dependencies {
2019tasks.test {
2120 useJUnitPlatform()
2221}
22+
23+ mavenPublishing {
24+ publishToMavenCentral(automaticRelease = true )
25+ signAllPublications()
26+
27+ coordinates(" dev.objz" , " commandbridge-api" , providers.gradleProperty(" pluginVersion" ).get())
28+
29+ pom {
30+ name.set(" CommandBridge API" )
31+ description.set(" Developer API for CommandBridge - cross-server command execution for Minecraft networks" )
32+ url.set(" https://cb.objz.dev" )
33+ licenses {
34+ license {
35+ name.set(" GPL-3.0-only" )
36+ url.set(" https://www.gnu.org/licenses/gpl-3.0.html" )
37+ }
38+ }
39+ developers {
40+ developer {
41+ id.set(" objz" )
42+ name.set(" objz" )
43+ url.set(" https://github.com/objz" )
44+ }
45+ }
46+ scm {
47+ url.set(" https://github.com/objz/CommandBridge" )
48+ connection.set(" scm:git:git://github.com/objz/CommandBridge.git" )
49+ developerConnection.set(" scm:git:ssh://git@github.com/objz/CommandBridge.git" )
50+ }
51+ }
52+ }
Original file line number Diff line number Diff line change 11org.gradle.configuration-cache =false
2- pluginVersion =3.3.0
2+ pluginVersion =3.3.1
33releaseChannel =release
44
You can’t perform that action at this time.
0 commit comments