removed kotlin build gradle

This commit is contained in:
ActualPlayer 2021-05-17 15:12:49 +02:00
parent c89cbedcbb
commit 48b3db534d
2 changed files with 50 additions and 57 deletions

50
build.gradle Normal file
View File

@ -0,0 +1,50 @@
plugins {
id 'net.kyori.blossom' version '1.2.0'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
sourceCompatibility = JavaVersion.VERSION_11
group 'com.actualplayer'
version '1.2.2'
description 'A way for the user to login to the server he last connected to.'
repositories {
mavenCentral()
maven {
name = "velocity"
setUrl("https://repo.velocitypowered.com/snapshots/")
}
maven {
setUrl("https://repo.spongepowered.org/maven")
}
maven {
setUrl("https://repo.velocitypowered.com/snapshots/")
}
maven {
setUrl("https://libraries.minecraft.net/")
}
}
defaultTasks 'clean', 'build', 'shadowJar'
dependencies {
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.8'
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: '1.18.8'
implementation group: 'net.luckperms', name: 'api', version: '5.3'
compileOnly group: 'com.velocitypowered', name: 'velocity-api', version: '1.1.5'
annotationProcessor group: 'com.velocitypowered', name: 'velocity-api', version: '1.1.5'
}
blossom {
replaceToken '@ID@', name.replace(" ", "").toLowerCase()
replaceToken '@NAME@', name
replaceToken '@VERSION@', version
replaceToken '@DESCRIPTION@', description
}
configurations {
runtime.exclude group:'me.lucko.luckperms'
}

View File

@ -1,57 +0,0 @@
plugins {
java
id("net.kyori.blossom") version "1.1.0"
id("com.github.johnrengelman.shadow") version "4.0.4"
}
group = "com.actualplayer"
version = "1.2.2"
description = "A way for the user to login to the server he last connected to."
repositories {
mavenCentral()
maven {
name = "velocity"
setUrl("https://repo.velocitypowered.com/snapshots/")
}
maven {
setUrl("https://repo.spongepowered.org/maven")
}
maven {
setUrl("https://repo.velocitypowered.com/snapshots/")
}
maven {
setUrl("https://libraries.minecraft.net/")
}
}
defaultTasks("clean", "build", "shadowJar")
dependencies {
compileOnly("org.projectlombok:lombok:1.18.8")
annotationProcessor("org.projectlombok:lombok:1.18.8")
implementation("net.luckperms:api:5.3")
compileOnly("com.velocitypowered:velocity-api:1.1.5")
annotationProcessor("com.velocitypowered:velocity-api:1.1.5")
testImplementation("junit", "junit", "4.12")
}
blossom {
replaceToken("@ID@", name.replace(" ", "").toLowerCase())
replaceToken("@NAME@", name)
replaceToken("@VERSION@", version)
replaceToken("@DESCRIPTION@", description)
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
configurations {
runtime {
exclude(group = "me.lucko.luckperms")
}
}