gradle plugin application

This commit is contained in:
2022-07-17 07:55:13 +03:00
parent d8ee0d23f3
commit 1bb94cce9e
2 changed files with 6 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ subprojects {
apply plugin: 'java'
group = 'ru.di9.mirror'
version = '1.0'
compileJava {
targetCompatibility = sourceCompatibility = JavaVersion.VERSION_17

View File

@@ -1,4 +1,5 @@
apply plugin: 'org.springframework.boot'
apply plugin: 'application'
dependencies {
implementation(project(':core'))
@@ -7,6 +8,10 @@ dependencies {
implementation(deps.springboot.web)
}
application {
mainClass = 'ru.di9.mirror.web.Application'
}
tasks.named('compileJava') {
it.dependsOn('moveSpringConfigurationMetadata')
}