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.music' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } allprojects { 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/" } } /* 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 }