mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 04:58:59 +00:00
Fix build problems on jdk-18 machines
This commit is contained in:
parent
4722290b61
commit
b45f68fedd
@ -6,7 +6,6 @@ plugins {
|
||||
|
||||
group 'nu.marginalia'
|
||||
version 'SNAPSHOT'
|
||||
|
||||
compileJava.options.encoding = "UTF-8"
|
||||
compileTestJava.options.encoding = "UTF-8"
|
||||
repositories {
|
||||
|
@ -24,6 +24,12 @@ repositories {
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':third_party')
|
||||
|
||||
|
8
third_party/build.gradle
vendored
8
third_party/build.gradle
vendored
@ -21,6 +21,12 @@ repositories {
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'junit:junit:4.13.2'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
|
||||
@ -108,4 +114,4 @@ dependencies {
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user