Update Gradle and dependencies
This commit is contained in:
@@ -3,43 +3,43 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|||||||
val githubRepo = "jakobkmar/KSpigot"
|
val githubRepo = "jakobkmar/KSpigot"
|
||||||
|
|
||||||
group = "net.axay"
|
group = "net.axay"
|
||||||
version = "1.17.4"
|
version = "1.18.0"
|
||||||
|
|
||||||
description = "A Kotlin API for the Minecraft Server Software \"Spigot\"."
|
description = "A Kotlin API for Minecraft plugins using the Spigot or Paper toolchain"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.5.21"
|
kotlin("jvm") version "1.6.0"
|
||||||
|
|
||||||
`java-library`
|
`java-library`
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
signing
|
signing
|
||||||
|
|
||||||
id("org.jetbrains.dokka") version "1.5.0"
|
id("org.jetbrains.dokka") version "1.6.0"
|
||||||
kotlin("plugin.serialization") version "1.5.21"
|
kotlin("plugin.serialization") version "1.6.0"
|
||||||
|
|
||||||
|
id("io.papermc.paperweight.userdev") version "1.3.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
mavenLocal() // to get the locally available binaries of spigot (use the BuildTools)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("org.spigotmc", "spigot", "1.17.1-R0.1-SNAPSHOT")
|
paperDevBundle("1.18.1-R0.1-SNAPSHOT")
|
||||||
testCompileOnly("org.spigotmc", "spigot", "1.17.1-R0.1-SNAPSHOT")
|
|
||||||
|
|
||||||
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.2")
|
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1")
|
||||||
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0-RC2")
|
||||||
api("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.5.1")
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0-RC2")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
withType<JavaCompile> {
|
withType<JavaCompile> {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
options.release.set(16)
|
options.release.set(17)
|
||||||
}
|
}
|
||||||
|
|
||||||
withType<KotlinCompile> {
|
withType<KotlinCompile> {
|
||||||
kotlinOptions.jvmTarget = "16"
|
kotlinOptions.jvmTarget = "17"
|
||||||
}
|
}
|
||||||
|
|
||||||
dokkaHtml.configure {
|
dokkaHtml.configure {
|
||||||
@@ -78,14 +78,14 @@ publishing {
|
|||||||
|
|
||||||
developers {
|
developers {
|
||||||
developer {
|
developer {
|
||||||
name.set("bluefireoly")
|
name.set("jakobkmar")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
licenses {
|
licenses {
|
||||||
license {
|
license {
|
||||||
name.set("The Apache License, Version 2.0")
|
name.set("GNU General Public License, Version 3")
|
||||||
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
|
url.set("https://www.gnu.org/licenses/gpl-3.0.en.html")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
@@ -1,14 +1,8 @@
|
|||||||
rootProject.name = "KSpigot"
|
rootProject.name = "KSpigot"
|
||||||
|
|
||||||
/*
|
|
||||||
* PLUGINS
|
|
||||||
*/
|
|
||||||
|
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
jcenter()
|
maven("https://papermc.io/repo/repository/maven-public/")
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user