From 01a0d4e184bec29913fb931c41e9ce589700180c Mon Sep 17 00:00:00 2001 From: darbyjack Date: Sat, 17 Jun 2023 14:31:48 -0500 Subject: [PATCH] chore: bump to 2.38 snapshot --- build.gradle | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 4086f5d2..0143451e 100644 --- a/build.gradle +++ b/build.gradle @@ -4,14 +4,18 @@ plugins { id 'org.jetbrains.kotlin.jvm' version '1.8.22' id 'com.github.johnrengelman.shadow' version '7.1.2' apply false id "com.github.ben-manes.versions" version "0.47.0" + id "net.kyori.indra" version "2.2.0" + id "net.kyori.indra.publishing" version "2.2.0" } allprojects { apply plugin: 'org.jetbrains.kotlin.jvm' + apply plugin: 'net.kyori.indra' + apply plugin: 'net.kyori.indra.publishing' archivesBaseName = 'VoteParty' group 'me.clip' - version '2.37' + version '2.38-SNAPSHOT' repositories { mavenCentral() @@ -31,13 +35,22 @@ allprojects { compileOnly "org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT" } - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + indra { + mitLicense() + + javaVersions { + target(8) + } + + github("darbyjack", "voteparty") { + publishing(true) + } + + publishAllTo("nexus", "https://repo.glaremasters.me/repository/random-stuff/") + } compileJava { options.compilerArgs += ["-parameters"] - options.fork = true - options.forkOptions.executable = 'javac' } compileKotlin {