Skip to content

Commit

Permalink
Release 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick committed May 4, 2021
1 parent fe4340c commit 157b1ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ dependencies {
}

tasks.withType<KotlinCompile> {
kotlinOptions.useIR = true
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_6.toString() // Jackson jvmTarget = JavaVersion.VERSION_1_7
}
val githubRepo = project.property("github.repo") as String
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/main/kotlin/be/zvz/koreanbots/Widget.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 157b1ab

Please sign in to comment.