sargunv
03/11/2016, 10:49 PMrm -rf ~/.kobalt/repository
(first we start from a known state)
1) Set the dependencies to this to set up the problem:
dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib:1.0.0")
compile("com.squareup.retrofit2:retrofit:2.0.0-beta4")
compile("com.squareup.okhttp3:okhttp:3.0.1")
compile("com.squareup.okio:okio:1.6.0")
}
2) ./kobaltw run
(it downloads the non-snapshots and succeeds)
3) Set the dependencies to this:
dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib:1.0.0")
compile("com.squareup.retrofit2:retrofit:2.0.0-beta4")
}
4) ./kobaltw run
(it downloads nothing and succeeds)
5) rm -rf ~/.kobalt/repository
(now we go back to the known state)
6) ./kobaltw run
(it downloads the snapshots and fails )
I believe that changing what is stored locally in the repository (step 5) should not affect which versions are selected by Kobalt (step 4 and 6).