Skip to content

Commit e4153c3

Browse files
committed
chore: dep updates
1 parent 98423e6 commit e4153c3

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- main
1818

1919
schedule:
20-
- cron: "0 0 * * *"
20+
- cron: "0 0 * * 0" # Every week on Sunday at 00:00
2121

2222
workflow_dispatch:
2323

gradle/build-logic/src/main/kotlin/dev.suresh.plugin.repos.settings.gradle.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ import org.tomlj.Toml
1111

1212
val versionCatalog by lazy {
1313
// A hack to read version catalog from settings
14-
Toml.parse(file("$rootDir/gradle/libs.versions.toml").readText()).getTable("versions")
15-
?: error("Unable to parse the version catalog!")
14+
runCatching {
15+
Toml.parse(file("$rootDir/gradle/libs.versions.toml").readText()).getTable("versions")
16+
}
17+
.getOrNull()
1618
}
1719

1820
pluginManagement {
@@ -123,7 +125,7 @@ fun RepositoryHandler.googleAndroid() {
123125
fun RepositoryHandler.nodeJS() {
124126
exclusiveContent {
125127
forRepository {
126-
ivy(versionCatalog.getString("repo-nodejs").orEmpty()) {
128+
ivy(versionCatalog?.getString("repo-nodejs").orEmpty()) {
127129
name = "Node Distributions at $url"
128130
patternLayout { artifact("v[revision]/[artifact](-v[revision]-[classifier]).[ext]") }
129131
metadataSources { artifact() }
@@ -135,7 +137,7 @@ fun RepositoryHandler.nodeJS() {
135137
}
136138

137139
fun RepositoryHandler.kobWeb() {
138-
maven(url = versionCatalog.getString("repo-kobweb").orEmpty()) {
140+
maven(url = versionCatalog?.getString("repo-kobweb").orEmpty()) {
139141
name = "KobWeb Repo"
140142
content { includeGroupAndSubgroups("com.varabyte") }
141143
}
@@ -145,7 +147,7 @@ fun RepositoryHandler.mavenSnapshot() {
145147
val mvnSnapshot = providers.gradleProperty("enableMavenSnapshot").orNull.toBoolean()
146148
if (mvnSnapshot) {
147149
logger.lifecycle("❖ Maven Snapshot is enabled!")
148-
maven(url = versionCatalog.getString("repo-mvn-snapshot").orEmpty()) {
150+
maven(url = versionCatalog?.getString("repo-mvn-snapshot").orEmpty()) {
149151
mavenContent { snapshotsOnly() }
150152
}
151153
}

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ kotlinx-metadata = "0.9.0"
3636
kotlinx-reflect-lite = "1.1.0"
3737
kotlinx-bcv = "0.16.3"
3838
kotlin-dokka = "2.0.0-Beta"
39-
kotlin-wrappers = "1.0.0-pre.820"
39+
kotlin-wrappers = "1.0.0-pre.821"
4040
kotlin-redacted = "1.11.0-alpha01"
4141
kotlinx-multik = "0.2.3"
4242
kotlinx-dataframe = "0.13.1"
@@ -86,7 +86,7 @@ wiremock = "3.9.2"
8686
wiremock-kotlin = "2.1.1"
8787
okhttp = "5.0.0-alpha.14"
8888
slf4j = "2.1.0-alpha1"
89-
logback = "1.5.11"
89+
logback = "1.5.12"
9090
logback-tyler = "0.7"
9191
log4j = "3.0.0-beta2"
9292
jmh = "1.37"

0 commit comments

Comments
 (0)