минимальный функционал maven

может сохранять артефакты;
может отдавать артефакты
This commit is contained in:
2022-04-15 19:35:43 +03:00
parent c63bfbd369
commit f2b3558b52
5 changed files with 88 additions and 30 deletions

View File

@@ -5,26 +5,16 @@ plugins {
}
group = 'ru.di9'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
version = '1.0-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
annotationProcessor('org.projectlombok:lombok')
compileOnly('org.projectlombok:lombok')
tasks.named('test') {
useJUnitPlatform()
implementation('org.springframework.boot:spring-boot-starter-web')
}