mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-18 17:48:14 +08:00
Add group to generated gradle projects
Closes gh-478
This commit is contained in:
@@ -44,6 +44,7 @@ apply plugin: 'io.spring.dependency-management'
|
|||||||
apply plugin: 'war'
|
apply plugin: 'war'
|
||||||
{{/war}}
|
{{/war}}
|
||||||
|
|
||||||
|
group = '{{groupId}}'
|
||||||
version = '{{version}}'
|
version = '{{version}}'
|
||||||
sourceCompatibility = {{javaVersion}}{{#kotlin}}{{#isJava8}}
|
sourceCompatibility = {{javaVersion}}{{#kotlin}}{{#isJava8}}
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
|
@@ -83,7 +83,7 @@ public class ProjectGeneratorBuildTests extends AbstractProjectGeneratorTests {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void standardWarGroovy() {
|
public void standardWarGroovy() {
|
||||||
testStandardWar("java");
|
testStandardWar("groovy");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@@ -16,6 +16,7 @@ apply plugin: 'eclipse'
|
|||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@ apply plugin: 'eclipse'
|
|||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@ apply plugin: 'eclipse'
|
|||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@@ -20,6 +20,7 @@ apply plugin: 'eclipse'
|
|||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.6
|
sourceCompatibility = 1.6
|
||||||
|
|
||||||
|
@@ -20,6 +20,7 @@ apply plugin: 'eclipse'
|
|||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.7
|
sourceCompatibility = 1.7
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@ apply plugin: 'eclipse'
|
|||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@ apply plugin: 'eclipse'
|
|||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@@ -17,6 +17,7 @@ apply plugin: 'spring-boot'
|
|||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
apply plugin: 'war'
|
apply plugin: 'war'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@ apply plugin: 'eclipse'
|
|||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@@ -17,6 +17,7 @@ apply plugin: 'spring-boot'
|
|||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
apply plugin: 'war'
|
apply plugin: 'war'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@@ -20,6 +20,7 @@ apply plugin: 'eclipse'
|
|||||||
apply plugin: 'spring-boot'
|
apply plugin: 'spring-boot'
|
||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
|
@@ -21,6 +21,7 @@ apply plugin: 'spring-boot'
|
|||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
apply plugin: 'war'
|
apply plugin: 'war'
|
||||||
|
|
||||||
|
group = 'com.example'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
|
Reference in New Issue
Block a user