forked from spring-attic/gradle-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
65 lines (56 loc) · 1.37 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
buildscript {
repositories {
maven { url 'https://repo.spring.io/plugins-release' }
}
dependencies {
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.2.2'
}
}
allprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
}
subprojects {
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'artifactory'
group = 'org.springframework.build.gradle'
repositories {
maven { url 'https://repo.spring.io/libs-release' }
}
dependencies {
compile gradleApi()
compile localGroovy()
}
}
project(':bundlor-plugin') {
version = bundlorPluginVersion
// dependencies are configured within BundlorPlugin
}
ext.repoUser = project.properties['REPO_USERNAME']
ext.repoPass = project.properties['REPO_PASSWORD']
artifactory {
contextUrl = 'https://repo.spring.io'
publish {
repository {
repoKey = 'plugins-snapshot-local'
username = repoUser
password = repoPass
}
defaults {
publishConfigs('archives')
}
}
resolve {
repository {
repoKey = 'libs-releases'
username = repoUser
password = repoPass
maven = true
}
}
}
task wrapper(type: Wrapper) {
description = 'Generates gradlew[.bat] scripts'
gradleVersion = '1.11'
}