Get rid of MultiPlatform Code, pt 2. (Remove linux modules)
This commit is contained in:
parent
e74840fb6a
commit
efbc801836
7 changed files with 0 additions and 89 deletions
|
@ -1,5 +1,3 @@
|
|||
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
|
||||
|
||||
plugins {
|
||||
id("org.jetbrains.kotlin.multiplatform")
|
||||
}
|
||||
|
@ -26,21 +24,6 @@ kotlin {
|
|||
}
|
||||
}
|
||||
}
|
||||
// For ARM, should be changed to iosArm32 or iosArm64
|
||||
// For Linux, should be changed to e.g. linuxX64
|
||||
// For MacOS, should be changed to e.g. macosX64
|
||||
// For Windows, should be changed to e.g. mingwX64
|
||||
|
||||
linuxX64("linuxX64")
|
||||
linuxArm64("linuxArm64")
|
||||
linuxArm32Hfp("linuxArm32")
|
||||
targets.withType<KotlinNativeTarget> {
|
||||
binaries {
|
||||
executable {
|
||||
entryPoint("de.pheerai.rcdbquery.main")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
|
@ -75,14 +58,6 @@ kotlin {
|
|||
implementation(kotlin("test-js"))
|
||||
}
|
||||
}
|
||||
getByName("linuxX64Main") {
|
||||
}
|
||||
getByName("linuxX64Test") {
|
||||
}
|
||||
getByName("linuxArm64Main") {
|
||||
}
|
||||
getByName("linuxArm64Test") {
|
||||
}
|
||||
all {
|
||||
languageSettings.enableLanguageFeature("InlineClasses")
|
||||
}
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
package de.pheerai.rcdbquery
|
||||
|
||||
actual class Sample {
|
||||
actual fun checkMe() = 7
|
||||
}
|
||||
|
||||
actual object Platform {
|
||||
actual val name: String = "Native"
|
||||
}
|
||||
|
||||
fun main() {
|
||||
println(generateQueryUrl())
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
package de.pheerai.rcdbquery
|
||||
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
class SampleTestsNative {
|
||||
@Test
|
||||
fun testHello() {
|
||||
assertTrue("Native" in hello())
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
package de.pheerai.rcdbquery
|
||||
|
||||
actual class Sample {
|
||||
actual fun checkMe() = 7
|
||||
}
|
||||
|
||||
actual object Platform {
|
||||
actual val name: String = "Native"
|
||||
}
|
||||
|
||||
fun main() {
|
||||
println(generateQueryUrl())
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
package de.pheerai.rcdbquery
|
||||
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
class SampleTestsNative {
|
||||
@Test
|
||||
fun testHello() {
|
||||
assertTrue("Native" in hello())
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
package de.pheerai.rcdbquery
|
||||
|
||||
fun main() {
|
||||
println(generateQueryUrl())
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
package de.pheerai.rcdbquery
|
||||
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
class SampleTestsNative {
|
||||
@Test
|
||||
fun testHello() {
|
||||
assertTrue(true)
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue