Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Android minSdkVersion to 21 #115

Merged
merged 1 commit into from
Aug 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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