Skip to content

Commit

Permalink
🐛rejectVersionIf doesn't work?
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfayard committed Sep 27, 2022
1 parent 99d9385 commit 0e07f63
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ org-jetbrains-kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version = "1.7.10"
[versions]

kotlin = "1.7.10"
## ⬆ = "1.7.20-Beta"
## ⬆ = "1.7.20-RC"

[libraries]

Expand Down
9 changes: 9 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@ plugins {
}

refreshVersions {
/**
* BUG: everything is stsable now!
> Task :refreshVersions
rVI: Version(value=5.9.1) stabilityLevel=Stable
rVI: Version(value=1.7.20-Beta) stabilityLevel=Stable
rVI: Version(value=1.7.20-RC) stabilityLevel=Stable
..
**/
rejectVersionIf {
// candidate.stabilityLevel.isLessStableThan(current.stabilityLevel)
println("rVI: $candidate stabilityLevel=${candidate.stabilityLevel}")
candidate.stabilityLevel != StabilityLevel.Stable
}
}
Expand Down
18 changes: 12 additions & 6 deletions versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,21 @@

plugin.com.apollographql.apollo3=3.6.0

## failed to check repo https://jitpack.io/ Cause: network or server issue (class java.net.SocketTimeoutException timeout)
version.arrow=1.1.3

## failed to check repo https://jitpack.io/ Cause: network or server issue (class java.net.SocketTimeoutException timeout)
version.com.charleskorn.kaml..kaml=0.48.0

## unused
version.com.contentful.java..java-sdk=10.5.5

## failed to check repo https://jitpack.io/ Cause: network or server issue (class java.net.SocketTimeoutException timeout)
version.com.github.ajalt.clikt..clikt=3.5.0

## failed to check repo https://jitpack.io/ Cause: network or server issue (class java.net.SocketTimeoutException timeout)
version.com.github.ajalt.mordant..mordant-jvm=2.0.0-beta7

version.com.github.kotlin-inquirer..kotlin-inquirer=0.1.0

version.com.nfeld.jsonpathkt..jsonpathkt=2.0.1

## failed to check repo https://jitpack.io/ Cause: network or server issue (class java.net.SocketTimeoutException timeout)
version.de.brudaswen.kotlinx.serialization..kotlinx-serialization-csv=2.0.0

## unused
Expand All @@ -39,10 +34,11 @@ version.io.arrow-kt..arrow-core=1.1.2
version.junit.jupiter=5.9.0
## # available=5.9.1

## failed to check repo https://jitpack.io/ Cause: network or server issue (class java.net.SocketTimeoutException timeout)
version.kotest=5.4.2

version.kotlin=1.7.10
## # available=1.7.20-Beta
## # available=1.7.20-RC

version.kotlinpoet=1.12.0

Expand All @@ -57,6 +53,16 @@ version.kotlinx.serialization=1.4.0
version.ktor=2.1.1

version.okhttp3=4.10.0
## # available=5.0.0-alpha.1
## # available=5.0.0-alpha.2
## # available=5.0.0-alpha.3
## # available=5.0.0-alpha.4
## # available=5.0.0-alpha.5
## # available=5.0.0-alpha.6
## # available=5.0.0-alpha.7
## # available=5.0.0-alpha.8
## # available=5.0.0-alpha.9
## # available=5.0.0-alpha.10

version.org.hibernate.validator..hibernate-validator=8.0.0.Final

Expand Down

0 comments on commit 0e07f63

Please sign in to comment.