plugins { id 'java' id 'org.springframework.boot' version '2.7.17' id 'io.spring.dependency-management' version '1.0.15.RELEASE' } group = 'com.atmob' version = '1.0.0' allprojects { apply plugin: 'java' apply plugin: 'org.springframework.boot' apply plugin: 'io.spring.dependency-management' java { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } repositories { maven { url 'https://mirrors.tuna.tsinghua.edu.cn/' } maven { url 'https://maven.aliyun.com/nexus/content/groups/public/'} maven { url "https://plugins.gradle.org/m2/" } mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter' annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" annotationProcessor 'org.projectlombok:lombok' compileOnly 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' } tasks.named('test') { useJUnitPlatform() } }