45 lines
907 B
Groovy
45 lines
907 B
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* This project uses @Incubating APIs which are subject to change.
|
|
*/
|
|
|
|
plugins {
|
|
id 'java'
|
|
id 'maven-publish'
|
|
id 'idea'
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
url = uri('https://repo.maven.apache.org/maven2/')
|
|
}
|
|
}
|
|
|
|
group = 'de.scimeda.keycloak'
|
|
version = '0.0.1-SNAPSHOT'
|
|
description = 'last-login-event-listener'
|
|
|
|
ext {
|
|
keycloakVersion = "17.0.0"
|
|
}
|
|
|
|
|
|
dependencies {
|
|
implementation "org.keycloak:keycloak-core:${keycloakVersion}"
|
|
implementation "org.keycloak:keycloak-server-spi:${keycloakVersion}"
|
|
implementation "org.keycloak:keycloak-server-spi-private:${keycloakVersion}"
|
|
implementation "org.keycloak:keycloak-services:${keycloakVersion}"
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(11)
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|