From 8925e764773f7fc894bb203906832c98cad01180 Mon Sep 17 00:00:00 2001 From: Hiroyuki Yamada Date: Fri, 7 Jun 2024 19:49:35 +0900 Subject: [PATCH] Backport to branch(3.10) : Fix a build error of docs/getting-started (#1867) Co-authored-by: Mitsunori Komatsu Co-authored-by: Toshihiro Suzuki --- docs/getting-started/build.gradle | 8 +++++--- .../gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/getting-started/build.gradle b/docs/getting-started/build.gradle index 77aa5cc1fa..ddf1b2a686 100644 --- a/docs/getting-started/build.gradle +++ b/docs/getting-started/build.gradle @@ -6,12 +6,14 @@ repositories { mavenCentral() } -mainClass = "sample.ElectronicMoneyMain" +application { + mainClass = "sample.ElectronicMoneyMain" +} dependencies { implementation 'com.scalar-labs:scalardb:3.10.4' implementation 'org.slf4j:slf4j-simple:1.7.30' } -sourceCompatibility = 1.8 -targetCompatibility = 1.8 +sourceCompatibility = 1.8 +targetCompatibility = 1.8 diff --git a/docs/getting-started/gradle/wrapper/gradle-wrapper.properties b/docs/getting-started/gradle/wrapper/gradle-wrapper.properties index 070cb702f0..48c0a02ca4 100644 --- a/docs/getting-started/gradle/wrapper/gradle-wrapper.properties +++ b/docs/getting-started/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists