Skip to content

Commit 09b7a7b

Browse files
committed
fix: set jvm bytecode target to 21 for core and base modules
Signed-off-by: Dario Valdespino <[email protected]>
1 parent 4ab63f9 commit 09b7a7b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/base/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* License for the specific language governing permissions and limitations under the License.
1212
*/
1313

14+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
1415
import elide.internal.conventions.kotlin.*
1516

1617
plugins {
@@ -34,6 +35,10 @@ elide {
3435
explicitApi = true
3536
}
3637

38+
jvm {
39+
target = JvmTarget.JVM_21
40+
}
41+
3742
checks {
3843
detekt = true
3944
}

packages/core/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* License for the specific language governing permissions and limitations under the License.
1212
*/
1313

14+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
1415
import elide.internal.conventions.kotlin.*
1516

1617
plugins {
@@ -32,6 +33,10 @@ elide {
3233
target = KotlinTarget.Default
3334
explicitApi = true
3435
}
36+
37+
jvm {
38+
target = JvmTarget.JVM_21
39+
}
3540
}
3641

3742
dependencies {

0 commit comments

Comments
 (0)