-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
68 lines (54 loc) · 1.65 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
buildscript {
repositories {
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath group: 'pl.allegro.tech.build', name: 'axion-release-plugin', version: '1.2.4'
classpath group: 'com.gradle.publish', name: 'plugin-publish-plugin', version: '0.9.0'
}
}
apply plugin: 'groovy'
apply plugin: 'pl.allegro.tech.build.axion-release'
apply plugin: 'java-gradle-plugin'
apply plugin: 'com.gradle.plugin-publish'
scmVersion {
tag {
prefix = 'newrelic-gradle-plugin'
}
versionCreator 'versionWithBranch'
}
project.group = 'pl.allegro.tech.build'
project.version = scmVersion.version
repositories {
mavenCentral()
}
sourceCompatibility = '1.8'
dependencies {
compile gradleApi()
compile localGroovy()
compile group: 'jline', name: 'jline', version: '2.12'
testCompile(group: 'org.spockframework', name: 'spock-core', version: '0.7-groovy-2.0') {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2'
}
group = 'pl.allegro.tech.build'
version = scmVersion.version
pluginBundle {
website = 'https://github.com/allegro/newrelic-gradle-plugin'
vcsUrl = 'https://github.com/allegro/newrelic-gradle-plugin'
description = 'Gradle plugin for building application package with newrelic configuration.'
tags = ["newrelic"]
plugins {
release {
id = 'pl.allegro.tech.build.newrelic-gradle-plugin'
displayName = 'newrelic-gradle-plugin'
}
}
mavenCoordinates {
groupId = 'pl.allegro.tech.build'
artifactId = 'newrelic-gradle-plugin'
}
}