diff --git a/build.gradle.kts b/build.gradle.kts index debce18..13136bd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,7 +21,6 @@ dependencies { } tasks.withType { - kotlinOptions.useIR = true kotlinOptions.jvmTarget = JavaVersion.VERSION_1_6.toString() // Jackson jvmTarget = JavaVersion.VERSION_1_7 } val githubRepo = project.property("github.repo") as String diff --git a/gradle.properties b/gradle.properties index 03fc229..5247da4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,6 +4,6 @@ kotlin.code.style=official # Library Setting group=be.zvz.koreanbots -version=2.0.0 +version=2.0.1 api.base.url=https://koreanbots.dev/api/v2 github.repo=JellyBrick/Koreanbots-Kotlin-SDK diff --git a/src/main/kotlin/be/zvz/koreanbots/Widget.kt b/src/main/kotlin/be/zvz/koreanbots/Widget.kt index cd524fb..68b56da 100644 --- a/src/main/kotlin/be/zvz/koreanbots/Widget.kt +++ b/src/main/kotlin/be/zvz/koreanbots/Widget.kt @@ -6,7 +6,7 @@ fun KoreanBots.getWidgetUrl( style: WidgetStyle = WidgetStyle.FLAT, scale: Double = 1.0, icon: Boolean = true -) = "${KoreanBotsInfo.API_BASE_URL}/widget/bots/$type/$id.svg?style=${style.apiName}&scale$scale&icon=$icon" +) = "${KoreanBotsInfo.API_BASE_URL}/widget/bots/$type/$id.svg?style=${style.apiName}&scale=$scale&icon=$icon" enum class WidgetType(val apiName: String) { VOTES("votes"),