mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-03 20:04:13 +08:00
Migrate initializr-generator to Java
This commit is contained in:
committed by
Stephane Nicoll
parent
0ff278a3d0
commit
ac20d04985
@@ -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') { %>
|
||||
|
||||
Reference in New Issue
Block a user