Skip to content

Commit

Permalink
buildSrcVersions version 0.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Michel Fayard committed Oct 10, 2019
1 parent 80cc9bc commit 933a902
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 28 deletions.
5 changes: 1 addition & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,10 @@ buildSrcVersions {

// Configuration: https://github.com/jmfayard/buildSrcVersions/issues/53
rejectVersionIf {
(candidate.group == "org.jetbrains.kotlinx" &&
candidate.module.startsWith("kotlinx-coroutines-") &&
candidate.version == "1.3.2") || // Reject kotlinx.coroutines 1.3.2 to test we get 1.3.1.
isStable(currentVersion) && isNonStable(candidate.version)
}

useFqdnFor("android.arch.core.executor", "")
useFqdnFor(*Libs.AndroidX.GROUPS)
}


Expand Down
24 changes: 24 additions & 0 deletions buildSrc/src/main/kotlin/dependencies/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,30 @@ object Libs {
* from either `version.androidx.$GROUP=xxx` or `version.androidx.$GROUP...$NAME=xxx`
**/
object AndroidX {
val GROUPS = arrayOf(
"android.arch.core", "android.arch.lifecycle", "android.arch.navigation", "android.arch.paging",
"android.arch.persistence", "android.arch.persistence.room", "android.arch.work",
"androidx.activity", "androidx.ads", "androidx.annotation", "androidx.appcompat",
"androidx.arch.core", "androidx.asynclayoutinflater", "androidx.autofill",
"androidx.benchmark", "androidx.biometric", "androidx.browser", "androidx.camera",
"androidx.car", "androidx.cardview", "androidx.collection", "androidx.compose",
"androidx.concurrent", "androidx.constraintlayout", "androidx.contentpager",
"androidx.coordinatorlayout", "androidx.core", "androidx.cursoradapter", "androidx.customview",
"androidx.databinding", "androidx.documentfile", "androidx.drawerlayout", "androidx.dynamicanimation",
"androidx.emoji", "androidx.enterprise", "androidx.exifinterface", "androidx.fragment",
"androidx.gridlayout", "androidx.heifwriter", "androidx.interpolator", "androidx.leanback",
"androidx.legacy", "androidx.lifecycle", "androidx.loader", "androidx.localbroadcastmanager",
"androidx.media", "androidx.media2", "androidx.mediarouter", "androidx.multidex",
"androidx.navigation", "androidx.paging", "androidx.palette", "androidx.percentlayout",
"androidx.preference", "androidx.print", "androidx.recommendation", "androidx.recyclerview",
"androidx.remotecallback", "androidx.room", "androidx.savedstate", "androidx.security",
"androidx.sharetarget", "androidx.slice", "androidx.slidingpanelayout", "androidx.sqlite",
"androidx.swiperefreshlayout", "androidx.test", "androidx.test.espresso", "androidx.test.espresso.idling",
"androidx.test.ext", "androidx.test.janktesthelper", "androidx.test.services",
"androidx.test.uiautomator", "androidx.textclassifier", "androidx.transition", "androidx.tvprovider",
"androidx.ui", "androidx.vectordrawable", "androidx.versionedparcelable", "androidx.viewpager",
"androidx.viewpager2", "androidx.wear", "androidx.webkit", "androidx.work"
)

const val annotation = "androidx.annotation:annotation:$versionPlaceHolder"
const val appCompat = "androidx.appcompat:appcompat:$versionPlaceHolder"
Expand Down
39 changes: 15 additions & 24 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ resolutionStrategyConfig=true
# You can edit the rest of the file, it will be kept intact
# See https://github.com/jmfayard/buildSrcVersions/issues/77
plugin.com.github.ben-manes.versions=0.25.0
plugin.org.gradle.kotlin.kotlin-dsl=1.2.9
# # available=1.3.1
plugin.de.fayard.buildSrcVersions=0.6.4
# # available=0.6.5
plugin.com.gradle.plugin-publish=0.10.0
# # available=0.10.1
plugin.org.gradle.kotlin.kotlin-dsl=1.3.1
plugin.de.fayard.buildSrcVersions=0.6.5
plugin.com.gradle.plugin-publish=0.10.1
plugin.com.gradle.build-scan=2.4.2
version.androidx.localbroadcastmanager..localbroadcastmanager=1.0.0
version.org.jetbrains.kotlinx..kotlinx-coroutines-core-native=1.3.2
version.androidx.asynclayoutinflater..asynclayoutinflater=1.0.0
version.androidx.versionedparcelable..versionedparcelable=1.0.0
version.androidx.swiperefreshlayout..swiperefreshlayout=1.0.0
Expand All @@ -69,11 +67,9 @@ version.androidx.contentpager..contentpager=1.0.0
version.androidx.documentfile..documentfile=1.0.0
version.androidx.drawerlayout..drawerlayout=1.0.0
version.androidx.interpolator..interpolator=1.0.0
version.androidx.media-widget..media-widget=_
version.androidx.slice..slice-builders-ktx=1.0.0-alpha6
version.androidx.mediarouter..mediarouter=1.0.0
version.kotlinx-coroutines-play-services=_
# # available=1.3.1
version.kotlinx-coroutines-play-services=1.3.2
version.androidx.annotation..annotation=1.0.0
version.androidx.customview..customview=1.0.0
version.androidx.gridlayout..gridlayout=1.0.0
Expand All @@ -82,35 +78,30 @@ version.androidx.transition..transition=1.0.0
version.androidx.tvprovider..tvprovider=1.0.0
version.androidx.slice..slice-builders=1.0.0
version.kotlin-test-annotations-common=1.3.50
version.kotlinx-coroutines-core-common=_
# # available=1.3.1
version.kotlinx-coroutines-core-native=_
version.kotlinx-coroutines-core-common=1.3.2
version.androidx.appcompat..appcompat=1.0.2
version.androidx.test.espresso.idling=3.1.1
version.androidx.viewpager..viewpager=1.0.0
version.kotlinx-serialization-runtime=0.13.0
version.androidx.test.ext..junit-ktx=1.1.1
version.androidx.cardview..cardview=1.0.0
version.play-services-vision-common=17.0.2
version.androidx.slice..slice-core=1.0.0
version.androidx.slice..slice-view=1.0.0
version.kotlinx-coroutines-android=_
# # available=1.3.1
version.kotlinx-coroutines-core-js=_
# # available=1.3.1
version.org.jetbrains..annotations=16.0.1
version.kotlinx-coroutines-android=1.3.2
version.kotlinx-coroutines-core-js=1.3.2
version.androidx.browser..browser=1.0.0
version.androidx.constraintlayout=1.1.3
version.androidx.test.ext..junit=1.1.1
version.androidx.test.ext..truth=1.2.0
version.kotlin-sam-with-receiver=1.3.50
version.kotlintest-runner-junit5=3.4.0
version.androidx.loader..loader=1.0.0
version.androidx.media2..media2=1.0.0-alpha02
version.androidx.vectordrawable=1.0.0
version.androidx.webkit..webkit=1.0.0
version.kotlinx-coroutines-core=_
# # available=1.3.1
version.kotlinx-coroutines-test=_
# # available=1.3.1
version.kotlinx-coroutines-core=1.3.2
version.kotlinx-coroutines-test=1.3.2
version.androidx.test.espresso=3.1.1
version.com.squareup.retrofit2=2.5.0
version.play-services-location=16.0.0
Expand Down Expand Up @@ -154,15 +145,15 @@ version.androidx.work=2.0.0
version.hamcrest-core=1.3
version.kotlin-stdlib=1.3.50
version.junit..junit=4.12
version.media-widget=_
version.annotations=16.0.1
version.commons-cli=1.2
version.kotlin-test=1.3.50
version.lint-gradle=26.5.0
version.robolectric=4.3
version.junit-ktx=1.1.1
version.material=1.0.0
version.jsr305=2.0.1
version.stetho=1.5.0
version.timber=4.7.1
version.aapt2=3.5.0-5435860
version.moshi=1.5.0
version.truth=1.2.0
version.moshi=1.5.0

0 comments on commit 933a902

Please sign in to comment.