Skip to content

Commit faf60ba

Browse files
committed
build: project build.gradle.kts
1 parent be89c84 commit faf60ba

4 files changed

Lines changed: 41 additions & 33 deletions

File tree

build.gradle

Lines changed: 0 additions & 18 deletions
This file was deleted.

build.gradle.kts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
plugins {
2+
id("pl.allegro.tech.build.axion-release") version "1.21.1"
3+
}
4+
5+
scmVersion {
6+
tag.prefix = ""
7+
useHighestVersion = true
8+
releaseOnlyOnReleaseBranches = true
9+
versionIncrementer("incrementMinorIfNotOnRelease", mapOf(
10+
"releaseBranchPattern" to "(?>release|(?>hot)?fix)/.+"
11+
)
12+
)
13+
branchVersionCreator = mapOf(
14+
"master" to "simple",
15+
"release/.*" to "simple",
16+
".*" to "versionWithBranch"
17+
)
18+
}
19+
20+
group = "org.bool.java"
21+
version = scmVersion.version
22+
23+
subprojects {
24+
group = rootProject.group
25+
version = rootProject.version
26+
}

platform/build.gradle

Lines changed: 0 additions & 15 deletions
This file was deleted.

platform/build.gradle.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
plugins {
2+
id("java-platform")
3+
}
4+
5+
javaPlatform {
6+
allowDependencies()
7+
}
8+
9+
dependencies {
10+
api(platform("org.springframework.boot:spring-boot-dependencies:3.2.3"))
11+
constraints {
12+
api("commons-io:commons-io:2.15.1")
13+
api("org.apache.commons:commons-collections4:4.4")
14+
}
15+
}

0 commit comments

Comments
 (0)