Skip to content

Commit

Permalink
Fix desktop app compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed May 23, 2023
1 parent 13e5c68 commit 48c9bea
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@file:JvmName("ImageLoaderDesktop")
package dev.schlaubi.tonbrett.app

import com.seiko.imageloader.component.ComponentRegistryBuilder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@file:JvmName("ImageLoaderJvm")
package dev.schlaubi.tonbrett.app

import androidx.compose.foundation.Image
Expand Down
15 changes: 0 additions & 15 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
`kotlin-dsl`
}
Expand All @@ -12,15 +9,3 @@ repositories {
dependencies {
compileOnly(kotlin("gradle-plugin"))
}

tasks {
withType<KotlinCompile> {
compilerOptions {
jvmTarget = JvmTarget.JVM_19
}
}
}

java {
sourceCompatibility = JavaVersion.VERSION_19
}
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ android.useAndroidX=true
org.jetbrains.compose.experimental.uikit.enabled=true
kotlin.native.ignoreIncorrectDependencies=true
kotlin.native.cacheKind=none
kotlin.native.ignoreDisabledTargets=true

0 comments on commit 48c9bea

Please sign in to comment.