File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff 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
2829dependencies
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(
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.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
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