Skip to content

Commit 717d40f

Browse files
Dependency version update for 21.7 (LabKey#63)
1 parent c208b1f commit 717d40f

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ demo/node_modules
33
demo/resources/web/demo/gen
44
demo/resources/views/gen
55
dependencies.txt
6+
jars.txt
67
enlistment.properties
78
build/
89

910
# Gradle
1011
.gradle
12+

demo/package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

standalone/build.gradle

+15-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// See the Gradle documentation for more information (https://docs.gradle.org).
1717
//
1818
import org.labkey.gradle.util.BuildUtils
19+
import org.labkey.gradle.util.ExternalDependency
1920

2021
plugins {
2122
// This plugin brings in the standard tasks for building a LabKey Java module that may include JSPs, XSDs, or npm builds
@@ -27,5 +28,18 @@ project.version="0.0.1-SNAPSHOT" // this can use your own versioning scheme
2728
dependencies
2829
{
2930
implementation "org.labkey.api:issues:${labkeyVersion}" // An example of declaring a dependency on the API jar for a module
30-
external "commons-beanutils:commons-beanutils:${commonsBeanutilsVersion}" // An external dependency to be included in the module's lib directory
31+
32+
// An external dependency to be included in the module's lib directory
33+
BuildUtils.addExternalDependency(
34+
project,
35+
new ExternalDependency(
36+
"commons-beanutils:commons-beanutils:${commonsBeanutilsVersion}",
37+
"Commons Beanutils",
38+
"Apache",
39+
"http://jakarta.apache.org/commons/beanutils/",
40+
ExternalDependency.APACHE_2_LICENSE_NAME,
41+
ExternalDependency.APACHE_2_LICENSE_URL,
42+
"Reading/writing beans"
43+
)
44+
)
3145
}

standalone/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ apacheTomcatVersion=8.5.51
1414
servletApiVersion=3.0
1515

1616
# Example external dependency used in build file
17-
commonsBeanutilsVersion=1.7.0
17+
commonsBeanutilsVersion=1.8.3

0 commit comments

Comments
 (0)