idk some "cool" stuff
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id("xyz.jpenilla.run-paper") version "2.3.1"
|
||||
id 'com.rikonardo.papermake' version '1.0.6'
|
||||
}
|
||||
|
||||
group = 'hdvtdev'
|
||||
@@ -8,6 +9,7 @@ version = '0.0.1-a'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'https://repo.md-5.net/content/groups/public/' }
|
||||
maven {
|
||||
name = "papermc-repo"
|
||||
url = "https://repo.papermc.io/repository/maven-public/"
|
||||
@@ -20,6 +22,7 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
|
||||
implementation group: 'me.libraryaddict.disguises', name: 'libsdisguises', version: '11.0.6'
|
||||
}
|
||||
|
||||
tasks {
|
||||
@@ -31,7 +34,7 @@ tasks {
|
||||
}
|
||||
}
|
||||
|
||||
def targetJavaVersion = 17
|
||||
def targetJavaVersion = 21
|
||||
java {
|
||||
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
|
||||
sourceCompatibility = javaVersion
|
||||
@@ -57,3 +60,8 @@ processResources {
|
||||
expand props
|
||||
}
|
||||
}
|
||||
|
||||
jar {
|
||||
destinationDirectory.set(file("/home/hadvart/Documents/Minecraft/Pufferfish 1.20.4/plugins"))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user