Skip to content

Commit 9a28155

Browse files
committed
chore: Set up the Maven Publish plugin
The last version we used to publish was 0.2.3, so I bumped the version to 0.3.0 due to all the breaking changes that were made when porting everything from Scala to Kotlin.
1 parent 88ca40d commit 9a28155

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lib/build.gradle.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ plugins {
44

55
// Apply the java-library plugin for API and implementation separation.
66
`java-library`
7+
8+
// https://docs.gradle.org/current/userguide/publishing_maven.html
9+
`maven-publish`
710
}
811

12+
group = "org.toktok"
13+
version = "0.3.0"
14+
915
repositories {
1016
// Use Maven Central for resolving dependencies.
1117
mavenCentral()
@@ -33,3 +39,12 @@ testing {
3339
}
3440
}
3541
}
42+
43+
publishing {
44+
publications {
45+
create<MavenPublication>("maven") {
46+
artifactId = "tox4j-c"
47+
from(components["java"])
48+
}
49+
}
50+
}

0 commit comments

Comments
 (0)