Remove unnecessary semicolons from Gradle build scripts
Signed-off-by: Piyal Ahmed <piya.salamence@gmail.com> See gh-46252
This commit is contained in:
parent
d38079cfbb
commit
8fb3010942
|
@ -19,7 +19,7 @@ pluginManagement {
|
|||
repositories {
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
spring.mavenRepositories();
|
||||
spring.mavenRepositories()
|
||||
}
|
||||
resolutionStrategy {
|
||||
eachPlugin {
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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 ->
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue