gradle plugin application
This commit is contained in:
@@ -15,6 +15,7 @@ subprojects {
|
|||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
|
|
||||||
group = 'ru.di9.mirror'
|
group = 'ru.di9.mirror'
|
||||||
|
version = '1.0'
|
||||||
|
|
||||||
compileJava {
|
compileJava {
|
||||||
targetCompatibility = sourceCompatibility = JavaVersion.VERSION_17
|
targetCompatibility = sourceCompatibility = JavaVersion.VERSION_17
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
apply plugin: 'org.springframework.boot'
|
apply plugin: 'org.springframework.boot'
|
||||||
|
apply plugin: 'application'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(':core'))
|
implementation(project(':core'))
|
||||||
@@ -7,6 +8,10 @@ dependencies {
|
|||||||
implementation(deps.springboot.web)
|
implementation(deps.springboot.web)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
application {
|
||||||
|
mainClass = 'ru.di9.mirror.web.Application'
|
||||||
|
}
|
||||||
|
|
||||||
tasks.named('compileJava') {
|
tasks.named('compileJava') {
|
||||||
it.dependsOn('moveSpringConfigurationMetadata')
|
it.dependsOn('moveSpringConfigurationMetadata')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user