forked from SandroMachado/bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (49 loc) · 1.13 KB
/
build.gradle
File metadata and controls
58 lines (49 loc) · 1.13 KB
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
group 'com.afollestad'
version '5.1.2'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'jacoco'
apply plugin: 'com.novoda.bintray-release'
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.4.0'
classpath "com.diffplug.spotless:spotless-plugin-gradle:3.4.0"
}
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile 'com.afollestad:ason:1.4.13'
compile group: 'com.intellij', name: 'annotations', version: '12.0'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
publish {
userOrg = 'drummer-aidan'
groupId = 'com.afollestad'
artifactId = 'bridge'
publishVersion = '5.1.2'
website = 'https://github.com/afollestad/bridge'
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
}
}
apply plugin: "com.diffplug.gradle.spotless"
spotless {
java {
target "**/*.java"
trimTrailingWhitespace()
removeUnusedImports()
googleJavaFormat()
endWithNewline()
}
}