Skip to content

Commit

Permalink
Migrate to libs.versions.toml, upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
adrw committed Jan 13, 2024
1 parent 018440a commit 6d83993
Show file tree
Hide file tree
Showing 15 changed files with 260 additions and 181 deletions.
14 changes: 6 additions & 8 deletions armeria/dashboard-search-table/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import hotwire_kt.Dependencies

plugins {
id("org.jetbrains.kotlin.jvm")
id("com.github.johnrengelman.shadow")
Expand All @@ -19,13 +17,13 @@ dependencies {
implementation(projects.hotwireKt.kotlinxHtmlTemplates)
implementation(projects.hotwireKt.tailwindsUi)

implementation(Dependencies.kotlinxHtml)
implementation(Dependencies.okio)
implementation(Dependencies.moshiCore)
implementation(Dependencies.moshiKotlin)
implementation(Dependencies.wispLogging)
implementation(libs.kotlinxHtml)
implementation(libs.okio)
implementation(libs.moshiCore)
implementation(libs.moshiKotlin)
implementation(libs.wispLogging)

implementation(platform(Dependencies.armeriaBom))
implementation(platform(libs.armeriaBom))
implementation("com.linecorp.armeria:armeria-grpc")
}

Expand Down
12 changes: 5 additions & 7 deletions armeria/full-spec/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import hotwire_kt.Dependencies

plugins {
id("org.jetbrains.kotlin.jvm")
id("com.github.johnrengelman.shadow")
Expand All @@ -19,12 +17,12 @@ dependencies {
implementation(projects.hotwireKt.kotlinxHtmlTemplates)
implementation(projects.hotwireKt.tailwindsUi)

implementation(Dependencies.mustacheCompiler)
implementation(Dependencies.kotlinxHtml)
implementation(Dependencies.okio)
implementation(Dependencies.wispLogging)
implementation(libs.mustacheCompiler)
implementation(libs.kotlinxHtml)
implementation(libs.okio)
implementation(libs.wispLogging)

implementation(platform(Dependencies.armeriaBom))
implementation(platform(libs.armeriaBom))
implementation("com.linecorp.armeria:armeria-grpc")
}

Expand Down
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ buildscript {
}

dependencies {
classpath(hotwire_kt.Dependencies.kotlinAllOpenPlugin)
classpath(hotwire_kt.Dependencies.kotlinGradlePlugin)
classpath(hotwire_kt.Dependencies.junitGradlePlugin)
classpath(hotwire_kt.Dependencies.shadowJarPlugin)
classpath(hotwire_kt.Dependencies.sqldelightGradle)
classpath(hotwire_kt.Dependencies.wireGradlePlugin)
classpath(libs.kotlinAllOpenPlugin)
classpath(libs.kotlinGradlePlugin)
classpath(libs.junitGradlePlugin)
classpath(libs.shadowJarPlugin)
classpath(libs.sqldelightGradle)
classpath(libs.wireGradlePlugin)
}
}

Expand Down
7 changes: 0 additions & 7 deletions buildSrc/build.gradle.kts

This file was deleted.

5 changes: 0 additions & 5 deletions buildSrc/settings.gradle.kts

This file was deleted.

88 changes: 0 additions & 88 deletions buildSrc/src/main/kotlin/Dependencies.kt

This file was deleted.

9 changes: 0 additions & 9 deletions buildSrc/src/main/kotlin/Versions.kt

This file was deleted.

Loading

0 comments on commit 6d83993

Please sign in to comment.