-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
79 lines (67 loc) · 1.99 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
/*
* Copyright (C) 2010 JFrog Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
def artifactId = 'buildinfo'
buildscript {
/*
apply {
apply from: 'http://repo.jfrog.org/artifactory/repo/org/jfrog/buildinfo/build-info-extractor-gradle/1.0.0/artifactoryinitplugin-1.0.0.gradle'
}
*/
repositories {
mavenRepo urls: 'http://gradle.artifactoryonline.com/gradle/plugins'
}
dependencies {
classpath "org.gradle.plugins:gradle-idea-plugin:0.3.1"
}
}
apply plugin: 'org.gradle.idea'
allprojects {
group = 'org.jfrog.buildinfo'
version = '1.4.x-SNAPSHOT'
}
subprojects {
apply {
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
}
dependencies {
compile group: 'commons-lang', name: 'commons-lang', version: '2.4'
compile group: 'commons-logging', name: 'commons-logging', version: '1.1.1'
testCompile group: 'org.testng', name: 'testng', version: '5.11', classifier: 'jdk15'
}
task sourceJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.java
}
artifacts {
archives sourceJar
}
}
project(':build-info-extractor-gradle') {
dependencies {
compile group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version: '1.5.1'
compile group: 'org.codehaus.jackson', name: 'jackson-core-asl', version: '1.5.1'
}
task uploadScripts << {
def files = file('src/main/gradle').listFiles().sort()
files.each { File file ->
if (file.isFile()) {
}
}
}
}
dependsOnChildren()