Skip to content

Commit 3a56790

Browse files
authored
Convert omero to use addExternalDependency (#103)
* Convert omero to use addExternalDependency
1 parent acad2d8 commit 3a56790

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

omerointegration/build.gradle

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import org.labkey.gradle.util.BuildUtils;
2+
import org.labkey.gradle.util.ExternalDependency
23

34
repositories {
45
mavenLocal()
@@ -14,7 +15,17 @@ repositories {
1415

1516
//excludes based on: https://github.com/glencoesoftware/omero-ms-core/blob/master/build.gradle
1617
dependencies {
17-
external ("org.openmicroscopy:omero-gateway:5.6.3")
18+
BuildUtils.addExternalDependency(
19+
project,
20+
new ExternalDependency(
21+
"org.openmicroscopy:omero-gateway:5.6.3",
22+
"OMERO Client",
23+
"OMERO Client",
24+
"https://docs.openmicroscopy.org/omero/5.6.3/developers/Java.html",
25+
"GNU General Public License",
26+
"https://www.gnu.org/licenses/gpl-3.0.html",
27+
"Used to interact with OMERO Servers"
28+
),
1829
{
1930
exclude group: 'OME'
2031
exclude group: 'antlr'
@@ -80,7 +91,7 @@ dependencies {
8091
exclude group: 'org.springframework', module: 'spring-jdbc'
8192
exclude group: 'org.springframework', module: 'spring-tx'
8293
}
83-
94+
)
8495
BuildUtils.addLabKeyDependency(project: project, config: "implementation", depProjectPath: ":server:modules:LabDevKitModules:LDK", depProjectConfig: "apiJarFile")
8596

8697
BuildUtils.addLabKeyDependency(project: project, config: "modules", depProjectPath: ":server:modules:LabDevKitModules:LDK", depProjectConfig: "published", depExtension: "module")

0 commit comments

Comments
 (0)