Skip to content

Commit

Permalink
Merge pull request #258 from AllanWang/versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanWang authored Oct 4, 2020
2 parents fd95fb5 + 61eeb7b commit 3ec7519
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 24 deletions.
41 changes: 20 additions & 21 deletions buildSrc/src/main/kotlin/kau/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ object Versions {
const val targetSdk = 29

// https://mvnrepository.com/artifact/androidx.appcompat/appcompat?repo=google
const val appcompat = "1.1.0"
const val appcompat = "1.2.0"

// https://mvnrepository.com/artifact/com.google.android.material/material
const val googleMaterial = "1.1.0-rc02"
const val googleMaterial = "1.2.1"

// https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview
const val recyclerView = "1.1.0"
Expand All @@ -21,25 +21,25 @@ object Versions {
const val cardView = "1.0.0"

// https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
const val constraintLayout = "2.0.0-beta8"
const val constraintLayout = "2.0.1"

// https://mvnrepository.com/artifact/androidx.core/core-ktx
const val coreKtx = "1.2.0"
const val coreKtx = "1.3.1"

// https://kotlinlang.org/docs/reference/using-gradle.html
const val kotlin = "1.3.72"
const val kotlin = "1.4.10"

// https://github.com/Kotlin/kotlinx.coroutines/releases
const val coroutines = "1.3.8"
const val coroutines = "1.3.9"

// https://github.com/mikepenz/AboutLibraries/releases
const val aboutLibraries = "8.3.0"
const val aboutLibraries = "8.3.1"

// https://github.com/wasabeef/Blurry/releases
const val blurry = "3.0.0"

// https://github.com/mikepenz/FastAdapter/releases
const val fastAdapter = "5.2.2"
const val fastAdapter = "5.2.3"

// https://github.com/bumptech/glide/releases
const val glide = "4.11.0"
Expand All @@ -48,51 +48,50 @@ object Versions {
const val iconics = "5.0.3"
const val iconicsGoogle = "3.0.1.4"
const val iconicsMaterial = "2.2.0.6"
const val iconicsCommunity = "3.5.95.1"
const val iconicsCommunity = "5.3.45.1"

// https://github.com/afollestad/material-dialogs/releases
const val materialDialog = "3.3.0"

// https://github.com/InsertKoinIO/koin/blob/master/CHANGELOG.md
const val koin = "2.1.6"
const val koin = "2.2.0-beta-1"

// https://mvnrepository.com/artifact/com.google.dagger/hilt-android
const val hilt = "2.28.3-alpha"
const val hilt = "2.29.1-alpha"

// https://square.github.io/leakcanary/changelog/
const val leakCanary = "2.4"

// https://mvnrepository.com/artifact/androidx.test.espresso/espresso-core?repo=google
const val espresso = "3.3.0-rc01"
const val espresso = "3.3.0"

// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
const val junit = "4.13"

// https://mvnrepository.com/artifact/androidx.test.ext/junit
const val testRunner = "1.1.2-rc01"
const val testRunner = "1.1.2"

// https://mvnrepository.com/artifact/androidx.test/rules?repo=google
const val testRules = "1.3.0-rc01"
const val testRules = "1.3.0"

// Keep version for now, see https://github.com/diffplug/spotless/issues/521
// https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md
const val spotless = "3.28.0"
const val spotless = "5.5.1"

// https://github.com/bugsnag/bugsnag-android/releases
const val bugsnag = "4.22.3"
const val bugsnag = "5.2.0"

// https://github.com/bugsnag/bugsnag-android-gradle-plugin/releases
const val bugsnagPlugin="4.7.5"
const val bugsnagPlugin="5.2.0"

// https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
const val gradlePlugin = "4.1.0-beta04"
const val gradlePlugin = "4.1.0-rc03"
// https://github.com/dcendents/android-maven-gradle-plugin/releases
const val mavenPlugin = "2.1"
// https://github.com/Triple-T/gradle-play-publisher/releases
const val playPublishPlugin = "2.8.0"
const val playPublishPlugin = "3.0.0"

// https://github.com/KeepSafe/dexcount-gradle-plugin/releases
const val dexCountPlugin = "1.0.3"
const val dexCountPlugin = "2.0.0-RC1"

// https://github.com/gladed/gradle-android-git-version/releases
const val gitVersionPlugin = "0.4.13"
Expand Down
4 changes: 4 additions & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v6.1.0
* Add support for Android 4.1 RC03
* Breaking: Updated iconics and buganizer dependencies

## v6.0.0
* Add support for Android 4.1.x
* Add major version library updates (FastAdapter, AboutLibrary, Iconics)
Expand Down
4 changes: 2 additions & 2 deletions sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ import dagger.hilt.android.HiltAndroidApp
class SampleApp : Application() {
override fun onCreate() {
super.onCreate()
// initBugsnag()
initBugsnag()
}

private fun initBugsnag() {
if (BuildConfig.DEBUG) {
return
}
Bugsnag.init(this)
Bugsnag.start(this)
}
}
4 changes: 4 additions & 0 deletions sample/src/main/res/xml/kau_changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
<item text="" />
-->

<version title="v6.1.0" />
<item text="Add support for Android 4.1 RC03" />
<item text="Breaking: Updated iconics, buganizer, and spotless dependencies (major version bump)" />

<version title="v6.0.0" />
<item text="Add support for Android 4.1.x" />
<item text="Add major version library updates (FastAdapter, AboutLibrary, Iconics)" />
Expand Down
2 changes: 1 addition & 1 deletion spotless.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apply plugin: "com.diffplug.gradle.spotless"
apply plugin: "com.diffplug.spotless"

spotless {
kotlin {
Expand Down

0 comments on commit 3ec7519

Please sign in to comment.