70 lines
1.3 KiB
Groovy
70 lines
1.3 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.5.4'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'java'
|
|
id 'idea'
|
|
}
|
|
|
|
group = 'com.myoa.engineering.crawl.ppomppu'
|
|
version = '1.1.1'
|
|
sourceCompatibility = '11'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
allprojects {
|
|
group = 'com.myoa.engineering.crawl.ppomppu'
|
|
version = '1.1.1'
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'org.springframework.boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://plugins.gradle.org/m2/"
|
|
}
|
|
}
|
|
|
|
ext {
|
|
set('springCloudVersion', "2020.0.4")
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
}
|
|
}
|
|
|
|
|
|
/* task initSourceFolders {
|
|
sourceSets*.java.srcDirs*.each {
|
|
if( !it.exists() ) {
|
|
it.mkdirs()
|
|
}
|
|
}
|
|
|
|
sourceSets*.resources.srcDirs*.each {
|
|
if( !it.exists() ) {
|
|
it.mkdirs()
|
|
}
|
|
}
|
|
}*/
|
|
}
|
|
|
|
jar {
|
|
enabled = false
|
|
}
|
|
|
|
bootJar {
|
|
enabled = false
|
|
} |