Migrates from maven to gradle for building and fixes the package names.

This commit is contained in:
Tom Hicks
2025-07-14 01:06:06 -07:00
parent 137f8e2197
commit acbd708ffc
23 changed files with 373 additions and 116 deletions

28
build.gradle Normal file
View File

@@ -0,0 +1,28 @@
plugins {
id 'java'
}
group = 'com.majinnaibu.minecraft.plugins.'
version = '0.2-SNAPSHOT'
description = "ScoreKeeper"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
}
dependencies {
compileOnly 'io.papermc.paper:paper-api:1.21.7-R0.1-SNAPSHOT'
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
// options.compilerArgs << "-Xlint:deprecation"
}