Skip to content

Commit

Permalink
Merge pull request #30 from embulk/gradle-version-catalog
Browse files Browse the repository at this point in the history
Start using Gradle's version catalog
  • Loading branch information
dmikurube authored Apr 10, 2024
2 parents e685eb7 + f267196 commit 008a44f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ java {
}

dependencies {
compileOnly "org.embulk:embulk-spi:0.11"
compileOnly "org.slf4j:slf4j-api:2.0.7"
compileOnly libs.embulk.spi
compileOnly libs.slf4j
}

javadoc {
Expand All @@ -45,7 +45,7 @@ javadoc {
encoding = "UTF-8"
overview = "src/main/html/overview.html"
links "https://docs.oracle.com/javase/8/docs/api/"
links "https://dev.embulk.org/embulk-spi/0.11/javadoc/"
links "https://dev.embulk.org/embulk-spi/${libs.versions.embulk.spi.get()}/javadoc/"
}
}

Expand Down
7 changes: 7 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[versions]
embulk-spi = "0.11"
slf4j-api = "2.0.7"

[libraries]
embulk-spi = { group = "org.embulk", name = "embulk-spi", version.ref = "embulk-spi" }
slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j-api" }
4 changes: 4 additions & 0 deletions settings-gradle.lockfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
empty=incomingCatalogForLibs0

0 comments on commit 008a44f

Please sign in to comment.