Migrate initializr-generator to Java

This commit is contained in:
Dave Syer
2017-02-08 09:02:36 +00:00
committed by Stephane Nicoll
parent 0ff278a3d0
commit ac20d04985
127 changed files with 10413 additions and 8220 deletions

View File

@@ -1,6 +1,6 @@
buildscript {
ext {<% buildProperties.gradle.each { %>
${it.key} = '${it.value.call()}'<% } %>
${it.key} = '${((java.util.function.Supplier)it.value).get()}'<% } %>
}
repositories {
mavenCentral()<% if (!bootVersion.contains("RELEASE")) { %>
@@ -39,7 +39,7 @@ repositories {
providedRuntime
}
<% } %><% if (buildProperties.versions) { %><%buildProperties.versions.each { %>
ext['${it.key}'] = '${it.value.call()}'<% } %>
ext['${it.key}'] = '${((java.util.function.Supplier)it.value).get()}'<% } %>
<% } %>
dependencies {<% compileDependencies.each { %>
compile('${it.groupId}:${it.artifactId}${it.version ? ":$it.version" : ""}${it.type ? "@$it.type" : ""}')<% } %><% if (language=='groovy') { %>