-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
24 lines (21 loc) · 804 Bytes
/
build.gradle
File metadata and controls
24 lines (21 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Workaround needed for nexus publishing bug
// version and group must be specified in the root project
// https://github.com/gradle-nexus/publish-plugin/issues/310
version = projectVersion
group = 'io.github.gpc'
subprojects {
repositories {
mavenCentral()
maven { url = 'https://repo.grails.org/grails/restricted' }
maven {
url = 'https://repository.apache.org/content/groups/snapshots'
content {
includeVersionByRegex('org[.]apache[.](grails|groovy).*', '.*', '.*-SNAPSHOT')
}
}
}
if (name == 'grails-datastore-rest-client-legacy') {
// This has to be applied here in the root project due to the nexus plugin requirements
apply plugin: 'org.apache.grails.gradle.grails-publish'
}
}