Compare commits

..

2 commits

2 changed files with 57 additions and 1 deletions

View file

@ -9,6 +9,8 @@ plugins {
id 'idea'
}
apply plugin: 'maven-publish'
repositories {
mavenLocal()
maven {
@ -21,7 +23,7 @@ version = '0.0.1-SNAPSHOT'
description = 'last-login-event-listener'
ext {
keycloakVersion = "24.0.2"
keycloakVersion = "23.0.6"
}
@ -41,3 +43,18 @@ java {
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
publishing {
publications {
customLibrary(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = 'keycloak-last-login-event-listener'
url = layout.buildDirectory.dir("repo")
}
}
}

39
pom.xml Normal file
View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
<modelVersion>4.0.0</modelVersion>
<groupId>de.scimeda.keycloak</groupId>
<artifactId>last-login-event-listener</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-core</artifactId>
<version>23.0.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-server-spi</artifactId>
<version>23.0.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-server-spi-private</artifactId>
<version>23.0.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-services</artifactId>
<version>23.0.6</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>