2023-01-26 11:29:32 +01:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '3.0.1'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'com.s477603'
|
2023-01-26 18:18:03 +01:00
|
|
|
version = '1.0'
|
2023-01-26 16:28:22 +01:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
2023-01-26 11:29:32 +01:00
|
|
|
|
2023-01-26 18:18:03 +01:00
|
|
|
|
2023-01-26 11:29:32 +01:00
|
|
|
configurations {
|
|
|
|
compileOnly {
|
|
|
|
extendsFrom annotationProcessor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2023-01-26 16:28:22 +01:00
|
|
|
maven {
|
|
|
|
url "https://repo.spring.io/release"
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
url "https://repository.jboss.org/maven2"
|
|
|
|
}
|
2023-01-26 11:29:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
runtimeOnly 'com.mysql:mysql-connector-j'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
2023-01-26 16:28:22 +01:00
|
|
|
|
2023-01-26 18:18:03 +01:00
|
|
|
tasks.named("build") {
|
2023-01-26 16:28:22 +01:00
|
|
|
manifest {
|
|
|
|
attributes 'Start-Class': 'com.s477603.movies.MoviesApplication'
|
|
|
|
attributes 'Main-Class': 'com.s477603.movies.MoviesApplication'
|
|
|
|
}
|
|
|
|
}
|