convert to gradle

This commit is contained in:
hyperdefined
2026-04-04 23:44:23 -04:00
parent 46db1af915
commit 6217015862
8 changed files with 413 additions and 117 deletions

52
build.gradle.kts Normal file
View File

@@ -0,0 +1,52 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
`java-library`
`maven-publish`
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
url = uri("https://jitpack.io")
}
maven {
url = uri("https://repo.rosewooddev.io/repository/public/")
}
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
}
dependencies {
compileOnly("io.papermc.paper:paper-api:26.1.1.build.+")
compileOnly("com.github.hyperdefined:hyperlib:1.0.10")
compileOnly("dev.rosewood:rosestacker:1.5.39")
}
group = "lol.hyper"
version = "2.0.3"
description = "ToolStats"
java.sourceCompatibility = JavaVersion.VERSION_25
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}
tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
}
tasks.withType<Javadoc>() {
options.encoding = "UTF-8"
}