|
| 1 | +@file:Suppress("unused") |
| 2 | + |
| 3 | +import org.jetbrains.kotlin.gradle.dsl.JvmTarget |
| 4 | + |
| 5 | + |
1 | 6 | /* |
2 | | - * Copyright 2023 Nikolai Kotchetkov. |
3 | | - * Licensed under the Apache License, Version 2.0 (the "License"); |
4 | | - * you may not use this file except in compliance with the License. |
5 | | - * You may obtain a copy of the License at |
6 | | - * http://www.apache.org/licenses/LICENSE-2.0 |
7 | | - * Unless required by applicable law or agreed to in writing, software |
8 | | - * distributed under the License is distributed on an "AS IS" BASIS, |
9 | | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
10 | | - * See the License for the specific language governing permissions and |
11 | | - * limitations under the License. |
12 | | - */ |
| 7 | +* Copyright 2023 Nikolai Kotchetkov. |
| 8 | +* Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | +* you may not use this file except in compliance with the License. |
| 10 | +* You may obtain a copy of the License at |
| 11 | +* http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | +* Unless required by applicable law or agreed to in writing, software |
| 13 | +* distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | +* See the License for the specific language governing permissions and |
| 16 | +* limitations under the License. |
| 17 | +*/ |
13 | 18 |
|
14 | 19 | @Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed |
15 | 20 | plugins { |
@@ -55,8 +60,10 @@ android { |
55 | 60 | sourceCompatibility = JavaVersion.VERSION_17 |
56 | 61 | targetCompatibility = JavaVersion.VERSION_17 |
57 | 62 | } |
58 | | - kotlinOptions { |
59 | | - jvmTarget = "17" |
| 63 | + kotlin { |
| 64 | + compilerOptions { |
| 65 | + jvmTarget.set(JvmTarget.JVM_17) |
| 66 | + } |
60 | 67 | } |
61 | 68 | buildFeatures { |
62 | 69 | compose = true |
|
0 commit comments