Skip to content

Commit 52c2945

Browse files
committed
Update dependencies
| datasource | package | from | to | | ---------- | ----------------------------------------------------- | ----- | ------ | | maven | com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin | 0.6.8 | 0.7.12 | | maven | gradle | 8.7 | 8.10.2 |
1 parent 99343a4 commit 52c2945

File tree

17 files changed

+449
-356
lines changed

17 files changed

+449
-356
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
### Updated
1616

17-
- `com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.6.8`
17+
- `com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.7.2`
1818
- `gradle -> 8.7`
1919

2020
## [0.1.0-alpha.16] - 2024-02-13

build-logic/src/main/kotlin/GenerateIgnoreClassesTask.kt

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ import org.gradle.api.tasks.TaskAction
1616
import org.gradle.api.tasks.TaskProvider
1717
import org.gradle.jvm.tasks.Jar
1818
import org.gradle.kotlin.dsl.listProperty
19+
import org.gradle.kotlin.dsl.mapProperty
1920
import org.gradle.kotlin.dsl.register
2021
import org.gradle.kotlin.dsl.withType
21-
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
2222
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
2323
import org.jetbrains.kotlin.gradle.tasks.BaseKotlinCompile
24+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
2425

2526
abstract class GenerateIgnoreClassesTask
2627
@Inject
@@ -59,7 +60,7 @@ constructor(
5960
private val buildGeneratedWithSeparator =
6061
"build${File.separatorChar}generated${File.separatorChar}"
6162

62-
@get:Input abstract val sourceSets: MapProperty<String, List<String>>
63+
@get:Input val sourceSets: MapProperty<String, List<String>> = objects.mapProperty()
6364

6465
@Input
6566
val names: ListProperty<String> =
@@ -68,19 +69,20 @@ constructor(
6869
.convention(
6970
sourceSets.map { sourceSets ->
7071
sourceSets
72+
.asSequence()
7173
.filter { (name, _) -> name.contains("Main") }
7274
.filterNot { (name, _) ->
7375
listOf(
74-
"androidNativeMain",
75-
"appleMain",
76-
"iosMain",
77-
"linuxMain",
78-
"macosMain",
79-
"mingwMain",
80-
"nativeMain",
81-
"tvosMain",
82-
"watchosMain",
83-
)
76+
"androidNativeMain",
77+
"appleMain",
78+
"iosMain",
79+
"linuxMain",
80+
"macosMain",
81+
"mingwMain",
82+
"nativeMain",
83+
"tvosMain",
84+
"watchosMain",
85+
)
8486
.any { name == it }
8587
}
8688
.flatMap { (_, dirs) -> dirs }
@@ -91,6 +93,7 @@ constructor(
9193
.substringBeforeLast(mainWithSeparator)
9294
}
9395
.distinct()
96+
.toList()
9497
}
9598
)
9699

@@ -100,7 +103,7 @@ constructor(
100103
names
101104
.get()
102105
.map { name ->
103-
project.buildDir.resolve(
106+
project.layout.buildDirectory.asFile.get().resolve(
104107
"generated/$name/main/kotlin/com/javiersc/kotlin/test/"
105108
)
106109
}
@@ -162,7 +165,7 @@ constructor(
162165
}
163166

164167
companion object {
165-
const val TASK_NAME = "generateIgnoreClasses"
168+
private const val TASK_NAME = "generateIgnoreClasses"
166169

167170
fun register(
168171
project: Project,
@@ -184,7 +187,7 @@ constructor(
184187
it.dependsOn(generateIgnoreClassesTask)
185188
}
186189

187-
project.tasks.withType<KotlinCompile<*>>().configureEach {
190+
project.tasks.withType<KotlinCompilationTask<*>>().configureEach {
188191
it.dependsOn(generateIgnoreClassesTask)
189192
}
190193

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
hubdle = "0.6.8"
2+
hubdle = "0.7.12"
33

44
[plugins]
55
javiersc-hubdle = { id = "com.javiersc.hubdle", version.ref = "hubdle" }

gradle/wrapper/gradle-wrapper.jar

130 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum

gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################

0 commit comments

Comments
 (0)