mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-19 01:58:16 +08:00
Fix template glitch
The project structure change has introduced some glitch that broke most of the template.
This commit is contained in:
@@ -1,22 +1,4 @@
|
||||
/*
|
||||
* Copyright 2012-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package project.templates
|
||||
|
||||
{packageName};
|
||||
package ${packageName};
|
||||
|
||||
import org.springframework.boot.SpringApplication;<% if (useSpringBootApplication) { %>
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;<% } else { %>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
packageproject.templates ${packageName}
|
||||
package ${packageName}
|
||||
|
||||
import org.springframework.boot.SpringApplication<% if (useSpringBootApplication) { %>
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication<% } else { %>
|
||||
|
@@ -1,22 +1,4 @@
|
||||
/*
|
||||
* Copyright 2012-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package project.templates
|
||||
|
||||
{packageName};
|
||||
package ${packageName};
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
packageproject.templates ${packageName}
|
||||
package ${packageName}
|
||||
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
@@ -1,22 +1,4 @@
|
||||
/*
|
||||
* Copyright 2012-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package project.templates
|
||||
|
||||
{packageName};
|
||||
package ${packageName};
|
||||
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.boot.context.web.SpringBootServletInitializer;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
packageproject.templates ${packageName}
|
||||
package ${packageName}
|
||||
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder
|
||||
import org.springframework.boot.context.web.SpringBootServletInitializer
|
||||
|
@@ -1,5 +1,3 @@
|
||||
package project.templates
|
||||
|
||||
buildscript {
|
||||
ext {
|
||||
springBootVersion = '${bootVersion}'<% if (language=='kotlin') { %>
|
||||
|
Reference in New Issue
Block a user