Skip to content

Commit 8e9f9a5

Browse files
committed
fix weirdness with kotlin version lookup
1 parent 1920ae6 commit 8e9f9a5

9 files changed

Lines changed: 39 additions & 21 deletions

File tree

sample-include-build/included/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ dependencies {
3737
// api(project(":subproject"))
3838
// api(project(":subproject2"))
3939

40-
api("org.apache.poi:poi:_")
41-
api("org.apache.poi:poi-ooxml:_")
40+
// api("org.apache.poi:poi:_")
41+
// api("org.apache.poi:poi-ooxml:_")
4242
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../sample-kotlin/gradle
-57.8 KB
Binary file not shown.

sample-include-build/included/gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

sample-include-build/included/gradlew

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample-include-build/included/gradlew.bat

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample-include-build/included/settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
}
2222

2323
refreshVersions {
24-
this.versionsPropertiesFile = rootDir.parentFile.resolve("versions.properties")
24+
// versionsPropertiesFile = rootDir.parentFile.resolve("versions.properties")
2525
featureFlags {
2626
enable(LIBS)
2727
disable(GRADLE_UPDATES)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#### Dependencies and Plugin versions with their available updates.
2+
#### Generated by `./gradlew refreshVersions` version 0.10.1-SNAPSHOT
3+
####
4+
#### Don't manually edit or split the comments that start with four hashtags (####),
5+
#### they will be overwritten by refreshVersions.
6+
####
7+
#### suppress inspection "SpellCheckingInspection" for whole file
8+
#### suppress inspection "UnusedProperty" for whole file
9+
10+
# TODO: investigate why included build needs THIS? on linux
11+
plugin.org.jetbrains.kotlin.jvm=version.kotlin
12+
13+
version.apache.poi=5.0.0
14+
15+
version.kotlin=1.4.32
16+
## # available=1.5.0-M1
17+
## # available=1.5.0-M2
18+
## # available=1.5.0-RC
19+
## # available=1.5.0
20+
## # available=1.5.10
21+
## # available=1.5.20-M1
22+
23+
version.kotlinx.collections.immutable=0.3.4
24+
25+
version.okhttp3=4.9.1
26+
## # available=4.10.0-RC1
27+
## # available=5.0.0-alpha.1
28+
## # available=5.0.0-alpha.2
29+
30+
version.org.gradle..gradle-hello-world-plugin=0.2

sample-include-build/versions.properties

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,9 @@ version.kotest=4.1.3
7676
## # available=4.5.0
7777
## # available=4.6.0
7878

79-
version.kotlin=1.4.0
80-
## # available=1.4.10
81-
## # available=1.4.20-M1
82-
## # available=1.4.20-M2
83-
## # available=1.4.20-RC
84-
## # available=1.4.20
85-
## # available=1.4.21
86-
## # available=1.4.21-2
87-
## # available=1.4.30-M1
88-
## # available=1.4.30-RC
89-
## # available=1.4.30
90-
## # available=1.4.31
91-
## # available=1.4.32
79+
# TODO: investigate why included build needs THIS? on linux
80+
plugin.org.jetbrains.kotlin.jvm=version.kotlin
81+
version.kotlin=1.4.32
9282
## # available=1.5.0-M1
9383
## # available=1.5.0-M2
9484
## # available=1.5.0-RC

0 commit comments

Comments
 (0)