forked from Netflix-Skunkworks/rewrite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
65 lines (54 loc) · 1.85 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
plugins {
id 'nebula.kotlin' version '1.0.3'
id 'me.champeau.gradle.antlr4' version '0.1'
id 'com.gradle.plugin-publish' version '0.9.4'
id 'java-gradle-plugin'
id 'nebula.plugin-plugin' version '4.24.0'
}
description 'Pluggable and distributed refactoring tool for Java source code'
contacts {
moniker 'Jon Schneider'
github 'jkschneider'
}
}
repositories {
mavenCentral()
maven { url "http://repository.jetbrains.com/all" }
}
antlr4.output = new File('src/main/java/com/netflix/java/refactor/aspectj')
antlr4.extraArgs = ['-package', 'com.netflix.java.refactor.aspectj']
// add antlr4 to classpath
configurations {
compile.extendsFrom antlr4
}
dependencies {
compileOnly files("${System.getProperty('java.home')}/../lib/tools.jar")
compile 'eu.infomas:annotation-detector:latest.release'
compile 'org.slf4j:slf4j-api:1.7.+'
compileOnly 'junit:junit:4.+'
testCompile 'junit:junit:4.+'
testCompile 'org.ow2.asm:asm:latest.release'
testCompile 'org.ow2.asm:asm-util:latest.release'
testCompile 'org.jetbrains.spek:spek:latest.release'
}
pluginBundle {
website = 'https://github.com/nebula-plugins/java-source-refactor'
vcsUrl = 'https://github.com/nebula-plugins/java-source-refactor.git'
description = 'Pluggable and distributed refactoring tool for Java source code'
plugins {
sourceRefactor {
id = 'nebula.source-refactor'
displayName = 'Distributed source refactoring plugin'
description = 'Pluggable and distributed refactoring tool for Java source code'
tags = ['nebula', 'lint']
}
}
mavenCoordinates {
groupId = 'com.netflix.nebula'
artifactId = 'java-source-refactor'
}
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}