Skip to content

Commit

Permalink
Publication of ANTLR4K
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomassetti committed Dec 28, 2024
1 parent f8891a3 commit fa1ccdf
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions antlr4k/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
id("signing")
id("org.jetbrains.dokka")
alias(libs.plugins.kover)
id("com.vanniktech.maven.publish") version "0.28.0"
}

val antlrKotlinVersion = extra["antlrKotlinVersion"]
Expand Down Expand Up @@ -37,3 +38,43 @@ publishing {
signing {
// sign(publishing.publications["kolasu_ast"])
}


mavenPublishing {
coordinates(project.group as String, "kolasu-"+project.name, project.version as String)

pom {
name.set("kolasu-" + project.name)
description.set("Framework to work with AST and building languages")
version = project.version as String
packaging = "jar"
url.set("https://github.com/Strumenta/kolasu")

scm {
connection.set("scm:git:https://github.com/Strumenta/kolasu.git")
developerConnection.set("scm:git:[email protected]:Strumenta/kolasu.git")
url.set("https://github.com/Strumenta/kolasu.git")
}

licenses {
license {
name.set("Apache License V2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0")
distribution.set("repo")
}
}

developers {
developer {
id.set("ftomassetti")
name.set("Federico Tomassetti")
email.set("[email protected]")
}
developer {
id.set("alessiostalla")
name.set("Alessio Stalla")
email.set("[email protected]")
}
}
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version=1.6.0-Alpha3-SNAPSHOT
kotlinVersion=2.0.20
kotlinVersion=2.0.21
dokkaVersion=1.9.20
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
jvm_version=1.8
Expand Down

0 comments on commit fa1ccdf

Please sign in to comment.