diff --git a/buildSrc/src/main/kotlin/android-library.gradle.kts b/buildSrc/src/main/kotlin/android-library.gradle.kts index b40a9101c..cf9150a24 100644 --- a/buildSrc/src/main/kotlin/android-library.gradle.kts +++ b/buildSrc/src/main/kotlin/android-library.gradle.kts @@ -13,7 +13,7 @@ android { compileSdkVersion(29) defaultConfig { - minSdkVersion(15) + minSdkVersion(21) } compileOptions { diff --git a/core/src/jvmMain/kotlin/io/islandtime/jvm/Conversions.kt b/core/src/jvmMain/kotlin/io/islandtime/jvm/Conversions.kt index 047e3007a..59cf8c061 100644 --- a/core/src/jvmMain/kotlin/io/islandtime/jvm/Conversions.kt +++ b/core/src/jvmMain/kotlin/io/islandtime/jvm/Conversions.kt @@ -1,5 +1,4 @@ @file:JvmName("IslandTimeUtils") -@file:Suppress("NewApi") package io.islandtime.jvm diff --git a/core/src/jvmMain/kotlin/io/islandtime/locale/Locale.kt b/core/src/jvmMain/kotlin/io/islandtime/locale/Locale.kt index e98eb5ffa..7668ddd81 100644 --- a/core/src/jvmMain/kotlin/io/islandtime/locale/Locale.kt +++ b/core/src/jvmMain/kotlin/io/islandtime/locale/Locale.kt @@ -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) } \ No newline at end of file diff --git a/core/src/jvmMain/kotlin/io/islandtime/zone/TimeZoneRules.kt b/core/src/jvmMain/kotlin/io/islandtime/zone/TimeZoneRules.kt index d00ad64dc..c371c5178 100644 --- a/core/src/jvmMain/kotlin/io/islandtime/zone/TimeZoneRules.kt +++ b/core/src/jvmMain/kotlin/io/islandtime/zone/TimeZoneRules.kt @@ -1,5 +1,3 @@ -@file:Suppress("NewApi") - package io.islandtime.zone import io.islandtime.DateTime diff --git a/docs/getting-started.md b/docs/getting-started.md index e58118687..271694aac 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -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