diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 2f8d09e..087de90 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -1,3 +1,5 @@ +val plasmoVoiceVersion: String by rootProject + dependencies { - compileOnly("su.plo.voice.api:server-common:2.0.0+ALPHA") + compileOnly("su.plo.voice.api:server-common:$plasmoVoiceVersion") } diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..fab7b2f --- /dev/null +++ b/gradle.properties @@ -0,0 +1 @@ +plasmoVoiceVersion=2.0.2 diff --git a/jar/build.gradle.kts b/jar/build.gradle.kts index c41029d..f749720 100644 --- a/jar/build.gradle.kts +++ b/jar/build.gradle.kts @@ -1,3 +1,5 @@ +val plasmoVoiceVersion: String by rootProject + plugins { kotlin("jvm") id("su.plo.voice.plugin") version("1.0.0") @@ -7,10 +9,8 @@ dependencies { compileOnly(project(":proxy")) compileOnly(project(":server")) - compileOnly("su.plo.voice.api:server:2.0.0+ALPHA") - compileOnly("su.plo.voice.api:proxy:2.0.0+ALPHA") - - annotationProcessor("su.plo.voice.api:server:2.0.0+ALPHA") + compileOnly("su.plo.voice.api:server:$plasmoVoiceVersion") + compileOnly("su.plo.voice.api:proxy:$plasmoVoiceVersion") } val platforms = setOf( diff --git a/proxy/build.gradle.kts b/proxy/build.gradle.kts index 6635343..7b6e4cc 100644 --- a/proxy/build.gradle.kts +++ b/proxy/build.gradle.kts @@ -1,3 +1,5 @@ +val plasmoVoiceVersion: String by rootProject + plugins { id("su.plo.crowdin.plugin") } @@ -5,7 +7,7 @@ plugins { dependencies { compileOnly(project(":common")) - compileOnly("su.plo.voice.api:proxy:2.0.0+ALPHA") + compileOnly("su.plo.voice.api:proxy:$plasmoVoiceVersion") } plasmoCrowdin { diff --git a/server/build.gradle.kts b/server/build.gradle.kts index c3bc46c..72a98bc 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -1,3 +1,5 @@ +val plasmoVoiceVersion: String by rootProject + plugins { id("su.plo.crowdin.plugin") } @@ -5,7 +7,7 @@ plugins { dependencies { compileOnly(project(":common")) - compileOnly("su.plo.voice.api:server:2.0.0+ALPHA") + compileOnly("su.plo.voice.api:server:$plasmoVoiceVersion") } plasmoCrowdin {