aboutsummaryrefslogtreecommitdiff
path: root/juick-api/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'juick-api/build.gradle')
-rw-r--r--juick-api/build.gradle36
1 files changed, 36 insertions, 0 deletions
diff --git a/juick-api/build.gradle b/juick-api/build.gradle
new file mode 100644
index 000000000..a947c6032
--- /dev/null
+++ b/juick-api/build.gradle
@@ -0,0 +1,36 @@
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+ dependencies {
+ classpath 'com.tkruse.gradle:gradle-groovysh-plugin:1.0.8'
+ }
+}
+
+apply plugin: 'java'
+apply plugin: 'war'
+apply plugin: 'org.akhikhl.gretty'
+apply plugin: 'com.github.tkruse.groovysh'
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ compile project(':juick-core')
+ compile project(':deps:com.juick.xmpp')
+ compile "org.apache.commons:commons-lang3:3.4"
+ compile "org.springframework:spring-jdbc:4.3.1.RELEASE"
+ providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
+ compile 'javax.inject:javax.inject:1'
+ compile 'com.github.pengrad:java-telegram-bot-api:2.1.1'
+ compile 'com.neovisionaries:nv-websocket-client:1.27'
+ providedRuntime 'mysql:mysql-connector-java:5.1.39'
+ testCompile 'junit:junit:4.12'
+}
+compileJava.options.encoding = 'UTF-8'
+gretty {
+ httpPort = 8080
+ contextPath = '/'
+ servletContainer = 'tomcat8'
+}