WIP
This commit is contained in:
parent
ddf8558578
commit
c5e39c9c3f
@ -18,4 +18,8 @@ class Templates(private val engine: PebbleEngine) {
|
||||
args
|
||||
)
|
||||
}
|
||||
|
||||
fun main(basePackage: String) {
|
||||
|
||||
}
|
||||
}
|
||||
5
src/main/resources/starter/main/main.twig
Normal file
5
src/main/resources/starter/main/main.twig
Normal file
@ -0,0 +1,5 @@
|
||||
package {{ basePackage }}
|
||||
|
||||
fun main() {
|
||||
println("Hello world!")
|
||||
}
|
||||
@ -4,11 +4,11 @@
|
||||
|
||||
<plugins>
|
||||
|
||||
{% include "starter/plugins/@default" %}
|
||||
{% include "starter/pom/plugins/@default" %}
|
||||
|
||||
{% include "starter/plugins/@kotlin" %}
|
||||
{% include "starter/pom/plugins/@kotlin" %}
|
||||
|
||||
{% include "starter/plugins/@shade" %}
|
||||
{% include "starter/pom/plugins/@shade" %}
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
@ -14,10 +14,10 @@
|
||||
<main.class>{{ basePackage }}/{{ name | lower | capitalize }}Kt</main.class>
|
||||
</properties>
|
||||
|
||||
{% include "starter/@dependencies" %}
|
||||
{% include "starter/pom/@dependencies" %}
|
||||
|
||||
{% include "starter/@repositories" %}
|
||||
{% include "starter/pom/@repositories" %}
|
||||
|
||||
{% include "starter/@plugins" %}
|
||||
{% include "starter/pom/@plugins" %}
|
||||
|
||||
</project>
|
||||
Loading…
x
Reference in New Issue
Block a user