-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish-maven.gradle
34 lines (34 loc) · 1.39 KB
/
publish-maven.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
install {
repositories.mavenInstaller {
pom.whenConfigured { generatedPom ->
generatedPom.dependencies.removeAll { it.scope == 'test' }
generatedPom.project {
name = 'Dependency management plugin'
description = 'A Gradle plugin that provides Maven-like dependency management functionality'
url = 'http://github.com/spring-gradle-plugins/dependency-management-plugin'
organization {
name = 'Pivotal Software, Inc.'
url = 'http://spring.io'
}
licenses {
license {
name = 'The Apache Software License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
scm {
url = 'https://github.com/spring-gradle-plugins/dependency-management-plugin'
connection = 'scm:git:https://github.com/spring-gradle-plugins/dependency-management-plugin'
}
developers {
developer {
id = 'wilkinsona'
name = 'Andy Wilkinson'
email = '[email protected]'
roles = ["Project lead"]
}
}
}
}
}
}