Add Magic Link Sample

Closes gh-312
This commit is contained in:
Marcus Hert Da Coregio
2024-09-03 15:38:57 -03:00
parent cc0e6f0d33
commit c389b99359
21 changed files with 751 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
plugins {
id 'java'
alias(libs.plugins.io.spring.dependency.management)
alias(libs.plugins.org.springframework.boot)
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'com.icegreen:greenmail-junit5:2.0.1'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
runtimeOnly 'org.springframework.boot:spring-boot-docker-compose'
}
tasks.named('test') {
useJUnitPlatform()
}