Skip to content

Commit 938f256

Browse files
committed
update gradle
1 parent 4124492 commit 938f256

File tree

5 files changed

+222
-163
lines changed

5 files changed

+222
-163
lines changed

build.gradle

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@ buildscript {
1111
}
1212
}
1313

14+
repositories {
15+
maven {
16+
url "https://gitlab.com/api/v4/projects/37512056/packages/maven"
17+
}
18+
}
19+
1420
rootProject.version = "0.0.1"
15-
group = "com.spaceshift"
21+
group = "javasabr.mqtt"
1622

1723
allprojects {
18-
1924
apply plugin: "java"
2025
apply plugin: "groovy"
2126
apply plugin: "org.springframework.boot"
2227

23-
//sourceCompatibility = JavaVersion.VERSION_17
24-
//targetCompatibility = JavaVersion.VERSION_17
25-
2628
repositories {
2729
mavenCentral()
2830
mavenLocal()
@@ -86,29 +88,28 @@ allprojects {
8688
}
8789

8890
processResources {
89-
filter(ReplaceTokens, tokens: [
90-
])
91+
filter(ReplaceTokens, tokens: [])
9192
}
9293
}
9394

94-
task buildSingleArtifact(type: GradleBuild) {
95-
group = 'build'
96-
description = 'Build all modules -> Build result artifact'
95+
tasks.register("buildSingleArtifact", GradleBuild) {
96+
group = "build"
97+
description = "Build all modules -> Build result artifact"
9798
tasks = ['build', 'bootJar']
9899
}
99100

100-
task buildSingleArtifactWithoutTests(type: GradleBuild) {
101-
group = 'build'
102-
description = 'Build all modules without tests -> Build result artifact'
101+
tasks.register("buildSingleArtifactWithoutTests", GradleBuild) {
102+
group = "build"
103+
description = "Build all modules without tests -> Build result artifact"
103104
tasks = ['classes', 'bootJar']
104105
}
105106

106-
wrapper {
107-
gradleVersion = '6.6-milestone-1'
108-
distributionType = Wrapper.DistributionType.ALL
109-
}
110-
111107
configurations.each {
112108
it.exclude group: "org.slf4j", module: "slf4j-log4j12"
113109
it.exclude group: "org.springframework.boot", module: "spring-boot-starter-logging"
114110
}
111+
112+
wrapper {
113+
gradleVersion = '9.1.0'
114+
distributionType = Wrapper.DistributionType.ALL
115+
}

gradle/wrapper/gradle-wrapper.jar

-13.4 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-all.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)