Skip to content

Commit

Permalink
add and configure the gradle release package
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Azpillaga Aldalur committed Jan 4, 2024
1 parent 00d0071 commit 6ab3746
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id("org.jlleitschuh.gradle.ktlint") version "11.6.0"
id("maven-publish")
id("java-gradle-plugin")
id("net.researchgate.release") version "3.0.2"
}

repositories {
Expand All @@ -20,7 +21,7 @@ gradlePlugin {
create("com.strumenta.kolasu.language-server-plugin") {
group = "com.strumenta.kolasu"
id = "com.strumenta.kolasu.language-server-plugin"
version = "0.0.0"
version = project.version
implementationClass = "com.strumenta.kolasu.languageserver.plugin.LanguageServerPlugin"
}
}
Expand All @@ -37,3 +38,11 @@ publishing {
}
}
}

release {
buildTasks.set(listOf(":publish"))
git {
requireBranch.set("")
pushToRemote.set("origin")
}
}
1 change: 1 addition & 0 deletions plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version=0.0.1-SNAPSHOT

0 comments on commit 6ab3746

Please sign in to comment.