Skip to content

Commit

Permalink
Bump Android minSdkVersion to 21 (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikc5000 committed Aug 1, 2020
1 parent 76d031d commit 320579b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/android-library.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
compileSdkVersion(29)

defaultConfig {
minSdkVersion(15)
minSdkVersion(21)
}

compileOptions {
Expand Down
1 change: 0 additions & 1 deletion core/src/jvmMain/kotlin/io/islandtime/jvm/Conversions.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@file:JvmName("IslandTimeUtils")
@file:Suppress("NewApi")

package io.islandtime.jvm

Expand Down
1 change: 0 additions & 1 deletion core/src/jvmMain/kotlin/io/islandtime/locale/Locale.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ actual typealias Locale = java.util.Locale

actual fun defaultLocale(): Locale = Locale.getDefault()

@Suppress("NewApi")
internal actual fun localeOf(identifier: String): Locale {
return Locale.forLanguageTag(identifier)
}
2 changes: 0 additions & 2 deletions core/src/jvmMain/kotlin/io/islandtime/zone/TimeZoneRules.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@file:Suppress("NewApi")

package io.islandtime.zone

import io.islandtime.DateTime
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Island Time requires Java 8 or above.

### Android

Island Time requires Android Gradle Plugin 4.0 or later and a minimum compile SDK of API 15.
Island Time requires Android Gradle Plugin 4.0 or later and a minimum compile SDK of API 21.

## Gradle Setup

Expand Down

0 comments on commit 320579b

Please sign in to comment.