Skip to content

Commit 0751516

Browse files
committed
changed dependency types to "compileOnly"
1 parent fd04804 commit 0751516

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ Build is based on gradle. See `build.gradle` included in the repository.
277277
Changelog
278278
---------
279279

280+
### v2.0.2
281+
282+
Changed dependency types to "compileOnly" so this library is not leaking specific JSP/JSTL libraries.
283+
280284
### v2.0.0
281285

282286
Updated for jakarta package names for J2EE classes.

build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = 'net.sargue'
8-
version = '2.0.0'
8+
version = '2.0.2'
99

1010
java {
1111
toolchain {
@@ -30,10 +30,11 @@ repositories {
3030
}
3131

3232
dependencies {
33-
api(group: "jakarta.servlet.jsp", name: "jakarta.servlet.jsp-api", version: "3.0.0")
34-
api(group: "jakarta.servlet.jsp.jstl", name: "jakarta.servlet.jsp.jstl-api", version: "2.0.0")
35-
33+
compileOnly(group: "jakarta.servlet.jsp", name: "jakarta.servlet.jsp-api", version: "3.0.0")
34+
compileOnly(group: "jakarta.servlet.jsp.jstl", name: "jakarta.servlet.jsp.jstl-api", version: "2.0.0")
3635

36+
testImplementation(group: "jakarta.servlet.jsp", name: "jakarta.servlet.jsp-api", version: "3.0.0")
37+
testImplementation(group: "jakarta.servlet.jsp.jstl", name: "jakarta.servlet.jsp.jstl-api", version: "2.0.0")
3738
testImplementation(group: "junit", name: "junit", version: "4.13.2")
3839
testImplementation(group: "org.springframework", name: "spring-test", version: "6.0.0-M2")
3940
}

0 commit comments

Comments
 (0)