diff --git a/build.gradle b/build.gradle index 128ca56..8b92a28 100644 --- a/build.gradle +++ b/build.gradle @@ -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 { @@ -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/" } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml new file mode 100644 index 0000000..70b5fe7 --- /dev/null +++ b/gradle/libs.versions.toml @@ -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" } diff --git a/settings-gradle.lockfile b/settings-gradle.lockfile new file mode 100644 index 0000000..709a43f --- /dev/null +++ b/settings-gradle.lockfile @@ -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