Skip to content

Commit e99621c

Browse files
committed
Update Target JVM version from 16 to 21 in library attributes
1 parent 9e23c03 commit e99621c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-logic/src/main/kotlin/buildlogic.libs.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ val apiElements = project.configurations.register("apiElements") {
136136
attribute(Category.CATEGORY_ATTRIBUTE, project.objects.named(Category.LIBRARY))
137137
attribute(Bundling.BUNDLING_ATTRIBUTE, project.objects.named(Bundling.SHADOWED))
138138
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements.JAR))
139-
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 16)
139+
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 21)
140140
}
141141
outgoing.artifact(tasks.named("jar"))
142142
}
@@ -151,7 +151,7 @@ val runtimeElements = project.configurations.register("runtimeElements") {
151151
attribute(Category.CATEGORY_ATTRIBUTE, project.objects.named(Category.LIBRARY))
152152
attribute(Bundling.BUNDLING_ATTRIBUTE, project.objects.named(Bundling.SHADOWED))
153153
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements.JAR))
154-
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 16)
154+
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 21)
155155
}
156156
outgoing.artifact(tasks.named("jar"))
157157
}

0 commit comments

Comments
 (0)