-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
66 lines (54 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
66
apply plugin: 'groovy'
apply plugin: 'java-gradle-plugin'
apply plugin: 'com.gradle.plugin-publish'
group = 'com.cisco.gradle'
version = '1.15'
ext {
publishName = 'external-build'
publishHomepage = 'https://github.com/awrichar/gradle-external-build'
}
apply from: 'localPublish.gradle'
sourceCompatibility = '1.6'
targetCompatibility = '1.6'
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2'
}
}
dependencies {
classpath 'com.gradle.publish:plugin-publish-plugin:0.9.7'
}
}
repositories {
mavenCentral()
}
dependencies {
compile localGroovy()
compile gradleApi()
testCompile gradleTestKit()
testCompile('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude module: 'groovy-all'
}
}
task buildExamples(type: GradleBuild) {
dir 'examples'
tasks = ['build']
}
test {
testLogging {
exceptionFormat = 'full'
}
}
pluginBundle {
website = publishHomepage
vcsUrl = publishHomepage
description = 'A Gradle plugin for seamlessly integrating with other build tools, including GNU make, CMake, qmake, and more.'
tags = ['native', 'make', 'automake', 'autoconf', 'cmake', 'qmake']
plugins {
externalBuildPlugin {
id = 'com.cisco.external-build'
displayName = 'Gradle external build plugin'
}
}
}