Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ repositories {
}

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.14.4', 'org.junit.jupiter:junit-jupiter-params:5.14.4', 'org.json:json:20250517'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.14.4', 'org.junit.platform:junit-platform-launcher'
testImplementation 'org.junit.jupiter:junit-jupiter-api:6.1.3', 'org.junit.jupiter:junit-jupiter-params:6.1.3', 'org.json:json:20250517'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:6.1.3', 'org.junit.platform:junit-platform-launcher'

implementation 'dev.personnummer:personnummer:3.5.0'
}
Expand All @@ -35,6 +35,13 @@ java {
targetCompatibility = 1.8
}

// JUnit 6 requires Java 17+. Only the tests are built for it; the published
// library keeps its Java 8 target.
tasks.named('compileTestJava') {
sourceCompatibility = '17'
targetCompatibility = '17'
}

artifacts {
archives javadocJar, sourcesJar, jar
}
Expand Down
Loading