Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
modularity.inferModulePath = true
}


Expand All @@ -104,6 +105,14 @@ compileJava {
targetCompatibility '17'
}

jar {
}

javadoc {
exclude 'module-info.java'
modularity.inferModulePath = false
}

test {
useJUnitPlatform()
testLogging {
Expand All @@ -118,9 +127,9 @@ dependencies {
implementation 'com.google.guava:guava:32.0.1-jre'
implementation 'commons-codec:commons-codec:1.22.0'

api 'com.auth0:auth0:3.3.0'
api 'com.auth0:auth0:3.5.1'
api 'com.auth0:java-jwt:4.5.0'
api 'com.auth0:jwks-rsa:0.23.0'
api 'com.auth0:jwks-rsa:0.24.1'

testImplementation 'org.hamcrest:hamcrest:2.2'
testImplementation 'org.mockito:mockito-core:4.11.0'
Expand Down
4 changes: 2 additions & 2 deletions gradle/maven-publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ tasks.withType(Javadoc).configureEach {
}

javadoc {
// Specify the Java version that the project will use
options.addStringOption('-release', "8")
// Specify the Java version that the project targets
options.addStringOption('-release', "17")
}
artifacts {
archives sourcesJar, javadocJar
Expand Down
20 changes: 20 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module com.auth0.mvc.commons {

// Public API
exports com.auth0;

// Auth0 SDKs
requires transitive com.auth0.java;
requires transitive com.auth0.jwt;
requires transitive com.auth0.jwks;

// Jakarta Servlet
requires transitive jakarta.servlet;

// Apache Commons
requires org.apache.commons.lang3;
requires org.apache.commons.codec;

// Guava (used for @VisibleForTesting)
requires com.google.common;
}
Loading