diff --git a/LICENSE b/LICENSE index 4b6b910..f3c8acf 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright © 2022–2023 Bytzo and contributors +Copyright © 2022–2024 Bytzo and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/build.gradle b/build.gradle.kts similarity index 50% rename from build.gradle rename to build.gradle.kts index d56c1b2..a9ffc36 100644 --- a/build.gradle +++ b/build.gradle.kts @@ -1,18 +1,18 @@ plugins { - id('fabric-loom').version('1.4.4') + id("fabric-loom").version("1.4.4") } -group = 'net.bytzo' -version = '0.5.1' +group = "net.bytzo" +version = "0.5.1" repositories { mavenCentral() } dependencies { - minecraft('com.mojang:minecraft:1.20.4') + minecraft("com.mojang:minecraft:1.20.4") mappings(loom.officialMojangMappings()) - modImplementation('net.fabricmc:fabric-loader:0.15.0') + modImplementation("net.fabricmc:fabric-loader:0.15.0") } java { @@ -21,10 +21,10 @@ java { } } -jar { - from('LICENSE') -} - loom { serverOnlyMinecraftJar() } + +tasks.named("jar") { + from("LICENSE") +} diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index b255318..0000000 --- a/settings.gradle +++ /dev/null @@ -1,11 +0,0 @@ -pluginManagement { - repositories { - gradlePluginPortal() - maven { - name = 'FabricMC Maven Repository' - url = 'https://maven.fabricmc.net' - } - } -} - -rootProject.name = 'sessility' diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..ea1b9d1 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,11 @@ +pluginManagement { + repositories { + gradlePluginPortal() + maven { + name = "FabricMC Maven Repository" + url = uri("https://maven.fabricmc.net") + } + } +} + +rootProject.name = "sessility"