diff --git a/build.gradle.kts b/build.gradle.kts index 4742da2..62ae0c9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,7 @@ /* * This file was generated by the Gradle 'init' task. + * + * This project uses @Incubating APIs which are subject to change. */ plugins { @@ -19,8 +21,6 @@ dependencies { api(libs.org.springframework.boot.spring.boot.starter.web) api(libs.org.springframework.boot.spring.boot.starter.thymeleaf) runtimeOnly(libs.org.springframework.boot.spring.boot.devtools) - testImplementation(libs.org.springframework.boot.spring.boot.starter.test) - compileOnly(libs.org.projectlombok.lombok) } group = "com.vonage" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml new file mode 100644 index 0000000..9ef36e4 --- /dev/null +++ b/gradle/libs.versions.toml @@ -0,0 +1,14 @@ +# This file was generated by the Gradle 'init' task. +# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format + +[versions] +com-vonage-server-sdk = "8.13.0" +org-springframework-boot-spring-boot-devtools = "3.3.5" +org-springframework-boot-spring-boot-starter-thymeleaf = "3.3.5" +org-springframework-boot-spring-boot-starter-web = "3.3.5" + +[libraries] +com-vonage-server-sdk = { module = "com.vonage:server-sdk", version.ref = "com-vonage-server-sdk" } +org-springframework-boot-spring-boot-devtools = { module = "org.springframework.boot:spring-boot-devtools", version.ref = "org-springframework-boot-spring-boot-devtools" } +org-springframework-boot-spring-boot-starter-thymeleaf = { module = "org.springframework.boot:spring-boot-starter-thymeleaf", version.ref = "org-springframework-boot-spring-boot-starter-thymeleaf" } +org-springframework-boot-spring-boot-starter-web = { module = "org.springframework.boot:spring-boot-starter-web", version.ref = "org-springframework-boot-spring-boot-starter-web" } diff --git a/gradlew b/gradlew index b740cf1..f5feea6 100755 --- a/gradlew +++ b/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -84,7 +86,8 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s +' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/gradlew.bat b/gradlew.bat index 7101f8e..9b42019 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ########################################################################## diff --git a/settings.gradle.kts b/settings.gradle.kts index 915a5d2..5df9e04 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,5 +1,7 @@ /* * This file was generated by the Gradle 'init' task. + * + * This project uses @Incubating APIs which are subject to change. */ rootProject.name = "sample-serversdk-java-springboot"