Skip to content

Commit 922a5bd

Browse files
committed
Merge 21.6.0 to develop
2 parents 717d40f + d929829 commit 922a5bd

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

standalone/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ plugins {
2323
id 'org.labkey.build.module'
2424
}
2525

26-
project.version="0.0.1-SNAPSHOT" // this can use your own versioning scheme
26+
// this can use your own versioning scheme
27+
// project.version="0.0.1-SNAPSHOT"
2728

2829
dependencies
2930
{
30-
implementation "org.labkey.api:issues:${labkeyVersion}" // An example of declaring a dependency on the API jar for a module
31+
// An example of declaring a dependency on the API jar for a module
32+
// implementation "org.labkey.api:issues:${labkeyVersion}"
3133

3234
// An external dependency to be included in the module's lib directory
3335
BuildUtils.addExternalDependency(

standalone/gradle.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ artifactory_contextUrl=https://artifactory.labkey.com/artifactory
33

44
# Version 1.17.0 or higher is required to fully support building stand-alone modules with the LabKey Gradle plugins
55
# Exact version will vary based on the version of LabKey being built on
6-
gradlePluginsVersion=1.27.0_standaloneBuild-SNAPSHOT
6+
gradlePluginsVersion=1.28.0
77

88
# versions of artifacts required as dependencies
9-
labkeyVersion=21.3.4
9+
#uncomment the version number and set to the desired labkeyVersion
10+
#labkeyVersion=21.7-SNAPSHOT
1011
labkeyClientApiVersion=1.3.2
1112

1213
# used by the LabKey Jsp Gradle plugin for declaring dependencies

standalone/settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ buildscript {
2121
// This ensures that the module name is correct when cloned to a non-standard directory
2222
rootProject.name="standalone"
2323

24+
if (!hasProperty("labkeyVersion")) {
25+
throw new GradleException("Define 'labkeyVersion' in 'gradle.properties' to build outside of a standard LabKey enlistment")
26+
}
27+
2428
gradle.beforeProject { project ->
2529
project.repositories {
2630
maven {

0 commit comments

Comments
 (0)