Skip to content

Commit

Permalink
changed dependency types to "compileOnly"
Browse files Browse the repository at this point in the history
  • Loading branch information
sargue committed Mar 26, 2024
1 parent fd04804 commit 0751516
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ Build is based on gradle. See `build.gradle` included in the repository.
Changelog
---------

### v2.0.2

Changed dependency types to "compileOnly" so this library is not leaking specific JSP/JSTL libraries.

### v2.0.0

Updated for jakarta package names for J2EE classes.
Expand Down
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'net.sargue'
version = '2.0.0'
version = '2.0.2'

java {
toolchain {
Expand All @@ -30,10 +30,11 @@ repositories {
}

dependencies {
api(group: "jakarta.servlet.jsp", name: "jakarta.servlet.jsp-api", version: "3.0.0")
api(group: "jakarta.servlet.jsp.jstl", name: "jakarta.servlet.jsp.jstl-api", version: "2.0.0")

compileOnly(group: "jakarta.servlet.jsp", name: "jakarta.servlet.jsp-api", version: "3.0.0")
compileOnly(group: "jakarta.servlet.jsp.jstl", name: "jakarta.servlet.jsp.jstl-api", version: "2.0.0")

testImplementation(group: "jakarta.servlet.jsp", name: "jakarta.servlet.jsp-api", version: "3.0.0")
testImplementation(group: "jakarta.servlet.jsp.jstl", name: "jakarta.servlet.jsp.jstl-api", version: "2.0.0")
testImplementation(group: "junit", name: "junit", version: "4.13.2")
testImplementation(group: "org.springframework", name: "spring-test", version: "6.0.0-M2")
}
Expand Down

0 comments on commit 0751516

Please sign in to comment.