-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
96 lines (75 loc) · 3.04 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
buildscript {
repositories {
mavenCentral()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
maven { url 'http://repo.spring.io/plugins-release' }
maven { url 'http://repo.spring.io/plugins-snapshot' }
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.3+'
classpath 'org.springframework.build.gradle:propdeps-plugin:+'
}
}
group 'com.teamhooman'
version '1.0-SNAPSHOT'
apply plugin: 'spring-boot'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'antlr'
sourceCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'http://repo.spring.io/snapshot' }
maven { url 'http://repo.spring.io/milestone' }
}
configure(allprojects) {
apply plugin: 'propdeps'
apply plugin: 'propdeps-maven'
apply plugin: 'propdeps-idea'
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.springframework.boot:spring-boot-starter-cache'
compile 'org.springframework.boot:spring-boot-devtools'
optional 'org.springframework.boot:spring-boot-configuration-processor'
compile 'com.h2database:h2:+'
compile 'org.twitter4j:twitter4j-stream:+'
compile 'com.twitter:twitter-text:+'
compile 'org.pircbotx:pircbotx:2+'
compile 'com.google.guava:guava:+'
compile 'it.unimi.dsi:fastutil:+'
compile 'javax.inject:javax.inject:+'
antlr 'org.antlr:antlr4:4.5+'
compile 'com.beust:jcommander:+'
compile files("$rootProject.projectDir/libs/huelocalsdk.jar")
compile files("$rootProject.projectDir/libs/huesdkresources.jar")
testCompile 'junit:junit:+'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
compileJava.dependsOn(processResources)
idea {
module {
// Customized exclude directories:
// * The Gradle Antlr plugin adds a source dir (and outputs to) $buildDir/generated-src/antlr/main by default
// * The Gradle IDEA plugin is a piece of shit and has an idea of what excludes SHOULD be (https://issues.gradle.org/browse/GRADLE-1174).
// and when it autogenerates the .iml it fucks it all up and even overwrites your stated preferences.
// * The IDEA exclusion system is a piece of shit co-conspirator and allows tagging of directories as both source AND exclude (https://youtrack.jetbrains.com/issue/IDEA-104847).
excludeDirs = [
file(".gradle"),
file("$buildDir/classes"),
file("$buildDir/dependency-cache"),
file("$buildDir/libs"),
file("$buildDir/reports"),
file("$buildDir/resources"),
file("$buildDir/test-results"),
file("$buildDir/temp"),
file("$buildDir/tmp")
] as Set
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.9'
}