From 32ebf73039756d9e8b1f3a298088a9ba384116ed Mon Sep 17 00:00:00 2001 From: Simon Benezan Date: Thu, 7 Dec 2023 16:03:12 +0100 Subject: [PATCH] update gradle configuration --- build.gradle.kts | 10 ++++------ gradle.properties | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- settings.gradle.kts | 8 -------- 4 files changed, 6 insertions(+), 16 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 59d3e0a..0e6bb70 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,10 +5,6 @@ plugins { project.group = "love.polardivision" project.version = property("version")!! -repositories { - mavenCentral() -} - tasks { compileJava { options.encoding = "UTF-8" @@ -50,6 +46,10 @@ val lwjglNatives = Pair( } } +repositories { + mavenCentral() +} + dependencies { api(platform("org.lwjgl:lwjgl-bom:$lwjglVersion")) @@ -83,5 +83,3 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.0") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.0") } - -//tasks.register("upVersion", UpVersion) diff --git a/gradle.properties b/gradle.properties index e189bd9..65c29dc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ org.gradle.parallel=true org.gradle.caching=true -version=0.1.2 +version=0.2.0 lwjglVersion=3.3.3 jomlVersion=1.10.5 \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ac72c34..1af9e09 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/settings.gradle.kts b/settings.gradle.kts index 3352679..cff4905 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,9 +1 @@ -/* - * This file was generated by the Gradle 'init' task. - * - * The settings file is used to specify which projects to include in your build. - * For more detailed information on multi-project builds, please refer to https://docs.gradle.org/8.3/userguide/building_swift_projects.html in the Gradle documentation. - * This project uses @Incubating APIs which are subject to change. - */ - rootProject.name = "Cloud-Engine"