diff --git a/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy b/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy index a1f81baaac..ae5b1cfaa6 100644 --- a/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy +++ b/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy @@ -909,7 +909,7 @@ class CreateAppCommand extends ArgumentCompletingCommand implements ProfileRepos } List repositoryUrls = profile.repositories.sort().reverse() if (GrailsVersion.isGraceSnapshotVersion(grailsVersion)) { - repositoryUrls.add(0, 'maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }') + repositoryUrls.add(0, "maven { url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }") } if (isSnapshotVersion) { repositoryUrls.add(0, 'mavenLocal()') @@ -949,7 +949,7 @@ class CreateAppCommand extends ArgumentCompletingCommand implements ProfileRepos List buildRepositoryUrls = buildRepositories.sort().reverse() if (GrailsVersion.isGraceSnapshotVersion(grailsVersion)) { - buildRepositoryUrls.add(0, 'maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }') + buildRepositoryUrls.add(0, "maven { url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }") } if (isSnapshotVersion) { buildRepositoryUrls.add(0, 'mavenLocal()') @@ -1038,26 +1038,26 @@ group """ replace(file: 'buildSrc/build.gradle') { replacetoken 'mavenCentral()' replacevalue '''mavenCentral() - maven { url 'https://repo.spring.io/milestone' }''' + maven { url = 'https://repo.spring.io/milestone' }''' } replace(file: 'build.gradle') { replacetoken 'mavenCentral()' replacevalue '''mavenCentral() - maven { url 'https://repo.spring.io/milestone' }''' + maven { url = 'https://repo.spring.io/milestone' }''' } } else if (isSnapshotVersion) { replace(file: 'buildSrc/build.gradle') { replacetoken 'mavenCentral()' replacevalue '''mavenCentral() - maven { url 'https://repo.spring.io/milestone' } - maven { url 'https://repo.spring.io/snapshot' }''' + maven { url = 'https://repo.spring.io/milestone' } + maven { url = 'https://repo.spring.io/snapshot' }''' } replace(file: 'build.gradle') { replacetoken 'mavenCentral()' replacevalue '''mavenCentral() - maven { url 'https://repo.spring.io/milestone' } - maven { url 'https://repo.spring.io/snapshot' }''' + maven { url = 'https://repo.spring.io/milestone' } + maven { url = 'https://repo.spring.io/snapshot' }''' } }