Skip to content

Commit

Permalink
Second try to fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed May 20, 2022
1 parent d49864e commit ef55968
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import kotlin.collections.mutableListOf

repositories {
mavenCentral()
mavenLocal()
google()
}

Expand All @@ -26,12 +25,11 @@ plugins {
val kotlinx_serialization_version: String by project
val build_number: String get() = System.getenv("BUILD_NUMBER") ?: ""
val is_snapshot: Boolean get() = System.getProperty("snapshot") != null

version = "$version${if (is_snapshot) "-SNAPSHOT" else ""}"

val nativeMainSets: MutableList<KotlinSourceSet> = mutableListOf()
val host: Host = getHostType()

version = "$version${if (is_snapshot) "-SNAPSHOT" else ""}"

kotlin {
fun addNativeTarget(preset: KotlinTargetPreset<*>) {
val target = targetFromPreset(preset)
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
group=io.github.z4kn4fein
version=1.3.1
version=1.3.2

kotlin.code.style=official
kotlin.mpp.enableCompatibilityMetadataVariant=true
kotlin.native.distribution.type=prebuilt

kotlinx_serialization_version=1.3.3

0 comments on commit ef55968

Please sign in to comment.