ShoppingCrawler/build.gradle

70 lines
1.3 KiB
Groovy
Raw Normal View History

2024-05-09 00:34:39 +00:00
plugins {
id 'java'
id 'idea'
id 'org.springframework.boot' version '2.5.4'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
}
group = 'com.myoa.engineering.crawl.shopping'
version = '1.1.1'
sourceCompatibility = JavaVersion.VERSION_17
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
allprojects {
group = 'com.myoa.engineering.crawl.shopping'
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
}