From 8bc0f8cce0f1de3b5bd586dc93b7af282fd23d3a Mon Sep 17 00:00:00 2001 From: jbb01 Date: Tue, 2 Apr 2024 18:55:57 +0200 Subject: [PATCH] setup release plugin --- bot-api/build.gradle.kts | 1 - bot-database/build.gradle.kts | 1 - bots/ping-bot/build.gradle.kts | 3 +-- build.gradle.kts | 7 +++++++ gradle.properties | 1 + management/build.gradle.kts | 1 - server/build.gradle.kts | 1 - 7 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 build.gradle.kts create mode 100644 gradle.properties diff --git a/bot-api/build.gradle.kts b/bot-api/build.gradle.kts index 3aa0986..2a62bef 100644 --- a/bot-api/build.gradle.kts +++ b/bot-api/build.gradle.kts @@ -4,7 +4,6 @@ plugins { } group = "eu.jonahbauer.chat" -version = "0.1.0-SNAPSHOT" sourceSets { create("config") { diff --git a/bot-database/build.gradle.kts b/bot-database/build.gradle.kts index 535079b..7196d0d 100644 --- a/bot-database/build.gradle.kts +++ b/bot-database/build.gradle.kts @@ -4,7 +4,6 @@ plugins { } group = "eu.jonahbauer.chat" -version = "0.1.0-SNAPSHOT" dependencies { compileOnlyApi(libs.annotations) diff --git a/bots/ping-bot/build.gradle.kts b/bots/ping-bot/build.gradle.kts index 89e7fbd..c90d0e9 100644 --- a/bots/ping-bot/build.gradle.kts +++ b/bots/ping-bot/build.gradle.kts @@ -2,5 +2,4 @@ plugins { id("chat-bot.bot-conventions") } -group = "eu.jonahbauer.chat.bots" -version = "0.1.0-SNAPSHOT" \ No newline at end of file +group = "eu.jonahbauer.chat.bots" \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..9e305f4 --- /dev/null +++ b/build.gradle.kts @@ -0,0 +1,7 @@ +plugins { + id("net.researchgate.release") version "3.0.2" +} + +release { + failOnUnversionedFiles = false +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..ff26bef --- /dev/null +++ b/gradle.properties @@ -0,0 +1 @@ +version=0.1.0-SNAPSHOT \ No newline at end of file diff --git a/management/build.gradle.kts b/management/build.gradle.kts index 56afbc0..487aa4f 100644 --- a/management/build.gradle.kts +++ b/management/build.gradle.kts @@ -4,7 +4,6 @@ plugins { } group = "eu.jonahbauer.chat" -version = "0.1.0-SNAPSHOT" dependencies { api(project(":bot-api")) { diff --git a/server/build.gradle.kts b/server/build.gradle.kts index bb2fe68..7e67caa 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -5,7 +5,6 @@ plugins { } group = "eu.jonahbauer.chat" -version = "0.1.0-SNAPSHOT" val bot : Configuration by configurations.creating configurations.runtimeOnly {