Skip to content

Commit

Permalink
Require 16 in API
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Aug 30, 2021
1 parent df47904 commit ed7923a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/LibsConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fun Project.applyLibrariesConfiguration() {
attribute(Category.CATEGORY_ATTRIBUTE, project.objects.named(Category.LIBRARY))
attribute(Bundling.BUNDLING_ATTRIBUTE, project.objects.named(Bundling.SHADOWED))
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements.JAR))
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8)
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 16)
}
outgoing.artifact(tasks.named("jar"))
}
Expand All @@ -126,7 +126,7 @@ fun Project.applyLibrariesConfiguration() {
attribute(Category.CATEGORY_ATTRIBUTE, project.objects.named(Category.LIBRARY))
attribute(Bundling.BUNDLING_ATTRIBUTE, project.objects.named(Bundling.SHADOWED))
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements.JAR))
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8)
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 16)
}
outgoing.artifact(tasks.named("jar"))
}
Expand Down
2 changes: 0 additions & 2 deletions buildSrc/src/main/kotlin/PlatformConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ fun Project.applyPlatformAndCoreConfiguration() {
val disabledLint = listOf(
"processing", "path", "fallthrough", "serial"
)
options.release.set(8)
options.compilerArgs.addAll(listOf("-Xlint:all") + disabledLint.map { "-Xlint:-$it" })
options.isDeprecation = true
options.encoding = "UTF-8"
Expand Down Expand Up @@ -82,7 +81,6 @@ fun Project.applyPlatformAndCoreConfiguration() {
}

configure<JavaPluginExtension> {
disableAutoTargetJvm()
withJavadocJar()
}

Expand Down

0 comments on commit ed7923a

Please sign in to comment.