@@ -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+
1420rootProject. version = " 0.0.1"
15- group = " com.spaceshift "
21+ group = " javasabr.mqtt "
1622
1723allprojects {
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-
111107configurations. 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+ }
0 commit comments