-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
117 lines (105 loc) · 4 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
buildscript {
ext {
grailsVersion = '3.2.3'
guavaVersion = '19.0'
assetPipelineVersion = '2.11.6'
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
maven { url 'https://repo.grails.org/grails/core' }
maven { url 'https://dl.bintray.com/grails/plugins' }
maven { url 'https://repo.transmartfoundation.org/content/repositories/public' }
maven { url 'https://repo.thehyve.nl/content/repositories/public' }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "com.google.guava:guava:$guavaVersion"
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:$assetPipelineVersion"
classpath 'org.grails.plugins:hibernate5:6.0.4'
classpath 'com.google.protobuf:protobuf-java:3.1.0'
classpath 'com.google.protobuf:protobuf-java-util:3.1.0'
classpath 'org.grails.plugins:views-gradle:1.0.12'
classpath 'net.linguica.gradle:maven-settings-plugin:0.5'
}
}
apply plugin: 'idea'
apply plugin: 'maven-publish'
ext {
transmartVersion = '17.1-SNAPSHOT'
grailsVersion = '3.2.3'
gradleWrapperVersion = '2.13'
guavaVersion = '19.0'
assetPipelineVersion = '2.11.6'
}
task wrapper(type: Wrapper) {
gradleVersion = gradleWrapperVersion
}
version = transmartVersion
group = 'org.transmartproject'
allprojects {
ext {
guavaVersion = guavaVersion
assetPipelineVersion = assetPipelineVersion
}
repositories {
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo.grails.org/grails/core' }
maven { url 'https://repo.transmartfoundation.org/content/repositories/public/' }
maven { url 'https://repo.thehyve.nl/content/groups/public/' }
maven { url 'https://dl.bintray.com/bluesliverx/grails-plugins' }
//maven { url 'https://jcenter.bintray.com' }
}
}
}
subprojects { project ->
version = transmartVersion
group = 'org.transmartproject'
apply plugin: 'eclipse'
apply plugin: 'idea'
if (project.name =~ /^(biomart-domain|folder-management-plugin|mock-ontology-server|Rmodules|search-domain|transmart-core-db-tests|transmart-core-db|transmart-gwas-plugin|transmart-java|transmart-legacy-db|transmart-rest-api|transmartApp|transmart-server|transmart-oauth|transmart-solr-indexing)$/) {
if (project.name =~ /^(transmartApp|mock-ontology-server|transmart-server)$/) {
apply plugin: 'war'
apply plugin: 'org.grails.grails-web'
} else {
apply plugin: 'org.grails.grails-plugin'
apply plugin: 'org.grails.grails-plugin-publish'
}
apply plugin: 'org.grails.grails-gsp'
apply plugin: 'asset-pipeline'
dependencyManagement {
imports {
mavenBom "org.grails:grails-bom:$grailsVersion"
}
applyMavenExclusions false
}
if (!(project.name =~ /^(transmart-server|transmartApp|mock-ontology-server)$/)) {
grailsPublish {
websiteUrl = 'http://transmartfoundation.org/'
license {
name = 'GPL-3.0'
}
issueTrackerUrl = 'https://github.com/thehyve/transmart-core/issues'
vcsUrl = 'https://github.com/thehyve/transmart-core'
title = project.name
desc = project.description
developers = [johndoe: "John Doe"]
}
}
}
if (project.name =~ /^(transmart-server|transmart-core-api|transmart-data|transmart-batch)$/) {
apply plugin: 'net.linguica.maven-settings'
apply plugin: 'maven-publish'
publishing {
repositories {
maven {
name "nl.thehyve.nexus"
url "https://repo.thehyve.nl/content/repositories/snapshots/"
}
}
}
}
}