Skip to content

Commit a0123a4

Browse files
authored
Merge pull request #622 from lunatech-labs/upgrade-gradle
Upgrade Gradle from 8.5 to 8.9
2 parents 467f8b0 + 689570c commit a0123a4

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

build.gradle

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
// root-level build.gradle
22
plugins {
3-
id("org.jlleitschuh.gradle.ktlint") version "12.1.1"
3+
id 'org.jlleitschuh.gradle.ktlint' version "12.1.1"
44
id 'org.jetbrains.kotlin.jvm' version '1.9.10'
55
id 'com.github.autostyle' version '3.2'
66
id 'application'
77
}
88

9-
base {
10-
group 'com.lunatech'
11-
version '0.0.1'
12-
mainClassName = "io.ktor.server.netty.EngineMain"
9+
group = "com.lunatech" // A company name, for example, `org.jetbrains`
10+
version = "1.0.0" // Version to assign to the built artifact
11+
12+
application {
13+
mainClass = "io.ktor.server.netty.EngineMain"
1314
}
1415

1516
sourceSets {
@@ -60,23 +61,25 @@ dependencies {
6061
testImplementation "io.ktor:ktor-server-tests-jvm:2.3.7"
6162
}
6263

63-
task buildAll(type: Exec, dependsOn: ['buildFrontApp']) {
64+
tasks.register('buildAll', Exec) {
65+
dependsOn['buildFrontApp']
6466
group "Build All App"
6567
description 'Build All App'
6668
executable "./gradlew"
6769
args "--no-daemon", "assemble"
6870
}
6971

7072
//Build React App
71-
task buildFrontApp(type: Exec, dependsOn: ['installReactApp']) {
73+
tasks.register('buildFrontApp', Exec) {
74+
dependsOn['installReactApp']
7275
group "Front App"
7376
description 'Build React App'
7477
executable "npm"
7578
args "run-script", "build", "--prefix", "./frontend/"
7679
}
7780

7881
//Install package npm for front app (React)
79-
task installReactApp(type: Exec) {
82+
tasks.register('installReactApp', Exec) {
8083
group "Front App"
8184
description 'Build React App'
8285
executable "npm"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Fri Apr 26 11:42:52 CEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)