File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ plugins {
2222 id ' org.labkey.build.module'
2323}
2424
25- project. version= " 0.0.1-SNAPSHOT" // this can use your own versioning scheme
25+ // this can use your own versioning scheme
26+ // project.version="0.0.1-SNAPSHOT"
2627
2728dependencies
2829 {
Original file line number Diff line number Diff 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.27.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.3.4
1011labkeyClientApiVersion =1.3.2
1112
1213# used by the LabKey Jsp Gradle plugin for declaring dependencies
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ buildscript {
2121// This ensures that the module name is correct when cloned to a non-standard directory
2222rootProject. 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+
2428gradle. beforeProject { project ->
2529 project. repositories {
2630 maven {
You can’t perform that action at this time.
0 commit comments