Skip to content

Commit 4783ad6

Browse files
committed
gradle 9
1 parent ca68952 commit 4783ad6

File tree

6 files changed

+12
-21
lines changed

6 files changed

+12
-21
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
java_version: ['17', '21', '23', '25']
11+
java_version: ['17', '21', '25']
1212
os: [ubuntu-latest, windows-latest, macOS-latest]
1313
include:
1414
- os: windows-latest

build.gradle.kts

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ plugins {
55
`java-library`
66
`maven-publish`
77
jacoco
8-
id("org.cadixdev.licenser") version "0.6.1"
8+
id("cloud.rio.license") version "0.18.0"
99
id("me.qoomon.git-versioning") version "6.4.4"
1010
id("io.freefair.lombok") version "9.1.0"
1111
id("io.freefair.javadoc-links") version "9.1.0"
1212
id("io.freefair.javadoc-utf-8") version "9.1.0"
13-
id("io.freefair.maven-central.validate-poms") version "9.1.0"
13+
// id("io.freefair.maven-central.validate-poms") version "9.1.0" не работает на 9 градле
1414
id("com.github.ben-manes.versions") version "0.53.0"
1515
id("ru.vyarus.pom") version "3.0.0"
1616
id("org.jreleaser") version "1.21.0"
@@ -79,6 +79,7 @@ dependencies {
7979

8080
// логирование
8181
testImplementation("org.slf4j", "slf4j-reload4j", "2.1.0-alpha1")
82+
testRuntimeOnly("org.junit.platform", "junit-platform-launcher", "6.1.0-M1")
8283

8384
// бенчмарк
8485
jmh("org.openjdk.jmh:jmh-core:1.37")
@@ -168,20 +169,14 @@ artifacts {
168169
}
169170

170171
license {
171-
header(rootProject.file("license/HEADER.txt"))
172-
newLine(false)
172+
header = rootProject.file("license/HEADER.txt")
173+
skipExistingHeaders = false
174+
strictCheck = true
173175
ext["year"] = "2019 - " + Calendar.getInstance().get(Calendar.YEAR)
174176
ext["name"] = "Tymko Oleg <olegtymko@yandex.ru>, Maximov Valery <maximovvalery@gmail.com>"
175177
ext["project"] = "MDClasses"
176-
exclude("**/*.yml")
177-
exclude("**/*.bin")
178-
exclude("**/*.html")
179-
exclude("**/*.properties")
180-
exclude("**/*.xml")
181-
exclude("**/*.json")
182-
exclude("**/*.os")
183-
exclude("**/*.bsl")
184-
exclude("**/*.orig")
178+
mapping("java", "SLASHSTAR_STYLE")
179+
exclude("**/test/resources/**/*.*")
185180
}
186181

187182

gradle/wrapper/gradle-wrapper.jar

1.65 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)