Remove unnecessary semicolons from Gradle build scripts

Signed-off-by: Piyal Ahmed <piya.salamence@gmail.com>

See gh-46252
This commit is contained in:
Piyal Ahmed 2025-07-02 22:39:31 +08:00 committed by Andy Wilkinson
parent d38079cfbb
commit 8fb3010942
4 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
spring.mavenRepositories();
spring.mavenRepositories()
}
resolutionStrategy {
eachPlugin {

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
import org.springframework.boot.buildpack.platform.build.PullPolicy;
import org.springframework.boot.buildpack.platform.build.PullPolicy
plugins {
id 'java'

View File

@ -80,8 +80,8 @@ dependencies {
undertow("org.springframework.boot:spring-boot-starter-undertow")
}
def boolean isWindows() {
return File.separatorChar == '\\';
static boolean isWindows() {
return File.separatorChar == '\\'
}
["jetty", "tomcat", "undertow"].each { webServer ->

View File

@ -72,7 +72,7 @@ tasks.register("syncAntSources", Sync) {
tasks.register("antRun", JavaExec) {
workingDir = layout.buildDirectory.dir("ant")
dependsOn syncTestRepository, syncAntSources, configurations.antDependencies
classpath = configurations.antDependencies;
classpath = configurations.antDependencies
mainClass = "org.apache.tools.ant.launch.Launcher"
args = [ "clean", "build" ]
systemProperties = [