Skip to content

Commit

Permalink
Update Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Jun 16, 2024
1 parent 4652ec6 commit f712133
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 33 deletions.
23 changes: 0 additions & 23 deletions build.gradle

This file was deleted.

29 changes: 29 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import org.gradle.api.tasks.wrapper.Wrapper.DistributionType.ALL

plugins {
kotlin("jvm") version("2.0.0")
id("org.graalvm.buildtools.native") version("0.10.2")
}

val hexagonVersion = "3.5.3"
val hexagonExtraVersion = "3.5.3"
val gradleScripts = "https://raw.githubusercontent.com/hexagontk/hexagon/$hexagonVersion/gradle"

ext.set("options", "-Xms64M -Xmx1G -XX:+UseNUMA")
ext.set("applicationClass", "com.hexagonkt.todokt.backend.ApplicationKt")

apply(from = "$gradleScripts/kotlin.gradle")
apply(from = "$gradleScripts/application.gradle")
apply(from = "$gradleScripts/native.gradle")

dependencies {
implementation("com.hexagonkt:http_server_jetty:$hexagonVersion")
implementation("com.hexagonkt:serialization_jackson_json:$hexagonVersion")
implementation("com.hexagonkt.extra:store_mongodb:$hexagonExtraVersion")
implementation("com.hexagonkt.extra:converters:$hexagonExtraVersion")
}

tasks.wrapper {
gradleVersion = "8.8"
distributionType = ALL
}
8 changes: 0 additions & 8 deletions gradle.properties

This file was deleted.

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down
File renamed without changes.

0 comments on commit f712133

Please sign in to comment.