diff options
| author | Aizistral | 2024-05-07 16:55:03 +0200 |
|---|---|---|
| committer | Aizistral | 2024-05-07 16:55:03 +0200 |
| commit | 8a375213b3705f9a3f4da7168add669eaaac6398 (patch) | |
| tree | 5d54e61134b698ab338c5f0298b8f6ed9753d24d /build.gradle | |
| parent | bb069a252a87e81d8ff3fd848104c80fddd7bbd5 (diff) | |
Make client runnable
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle index 04a9208..ccd32fe 100644 --- a/build.gradle +++ b/build.gradle @@ -1,15 +1,12 @@ import org.apache.tools.ant.taskdefs.condition.Os plugins { - id 'fabric-loom' version '1.1-SNAPSHOT' + id 'fabric-loom' version '1.6-SNAPSHOT' id 'maven-publish' id "com.modrinth.minotaur" version "2.+" id "com.matthewprenger.cursegradle" version "1.+" } -sourceCompatibility = JavaVersion.VERSION_21 -targetCompatibility = JavaVersion.VERSION_21 - archivesBaseName = project.archives_base_name version = project.mod_version group = project.maven_group @@ -59,6 +56,17 @@ def setupLinks() { setupLinks() +tasks.withType(JavaCompile).configureEach { + it.options.release = 21 +} + +java { + // withSourcesJar() + + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 +} + loom { accessWidenerPath = file("src/main/resources/nochatreports.accesswidener") |
