plugins { id 'java' id 'org.springframework.boot' version '3.2.2' id 'io.spring.dependency-management' version '1.1.4' } group = 'de.w665' version = '1.1.2' java { sourceCompatibility = '21' targetCompatibility = '21' toolchain { languageVersion = JavaLanguageVersion.of(21) } } configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } dependencies { developmentOnly 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-mail' implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' developmentOnly 'org.springframework.boot:spring-boot-devtools' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' implementation 'com.rethinkdb:rethinkdb-driver:2.4.4' // https://mvnrepository.com/artifact/com.google.code.gson/gson implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1' // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security implementation group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: '3.2.4' // https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-api implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.12.5' // https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-impl runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.12.5' // https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-orgjson runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-orgjson', version: '0.12.5' } bootJar { manifest { attributes( 'Application-Version': project.version ) } } tasks.named('test') { useJUnitPlatform() }