Skip to content

Commit 01a0d4e

Browse files
committed
chore: bump to 2.38 snapshot
1 parent b508cad commit 01a0d4e

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

build.gradle

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ plugins {
44
id 'org.jetbrains.kotlin.jvm' version '1.8.22'
55
id 'com.github.johnrengelman.shadow' version '7.1.2' apply false
66
id "com.github.ben-manes.versions" version "0.47.0"
7+
id "net.kyori.indra" version "2.2.0"
8+
id "net.kyori.indra.publishing" version "2.2.0"
79
}
810

911
allprojects {
1012
apply plugin: 'org.jetbrains.kotlin.jvm'
13+
apply plugin: 'net.kyori.indra'
14+
apply plugin: 'net.kyori.indra.publishing'
1115

1216
archivesBaseName = 'VoteParty'
1317
group 'me.clip'
14-
version '2.37'
18+
version '2.38-SNAPSHOT'
1519

1620
repositories {
1721
mavenCentral()
@@ -31,13 +35,22 @@ allprojects {
3135
compileOnly "org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT"
3236
}
3337

34-
sourceCompatibility = JavaVersion.VERSION_1_8
35-
targetCompatibility = JavaVersion.VERSION_1_8
38+
indra {
39+
mitLicense()
40+
41+
javaVersions {
42+
target(8)
43+
}
44+
45+
github("darbyjack", "voteparty") {
46+
publishing(true)
47+
}
48+
49+
publishAllTo("nexus", "https://repo.glaremasters.me/repository/random-stuff/")
50+
}
3651

3752
compileJava {
3853
options.compilerArgs += ["-parameters"]
39-
options.fork = true
40-
options.forkOptions.executable = 'javac'
4154
}
4255

4356
compileKotlin {

0 commit comments

Comments
 (0)