Skip to content

Commit 1afc9fa

Browse files
authored
add TravisCI integration (#18)
* add TravisCI integration * add build.gradle * remove java 11 check from travis
1 parent 4ce0bc8 commit 1afc9fa

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: java
2+
jdk:
3+
- oraclejdk8

build.gradle

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/*
2+
* This build file was generated by the Gradle 'init' task.
3+
*
4+
* This generated file contains a sample Java project to get you started.
5+
* For more details take a look at the Java Quickstart chapter in the Gradle
6+
* user guide available at https://docs.gradle.org/3.3/userguide/tutorial_java_projects.html
7+
*/
8+
9+
buildscript {
10+
repositories {
11+
mavenCentral()
12+
}
13+
14+
}
15+
buildscript {
16+
repositories {
17+
maven {
18+
url "https://plugins.gradle.org/m2/"
19+
}
20+
}
21+
dependencies {
22+
classpath "net.ltgt.gradle:gradle-apt-plugin:0.7"
23+
}
24+
}
25+
26+
27+
// Apply the java plugin to add support for Java
28+
apply plugin: 'java'
29+
apply plugin: 'eclipse'
30+
apply plugin: 'idea'
31+
apply plugin: "net.ltgt.apt"
32+
33+
repositories {
34+
mavenCentral()
35+
}
36+
37+
sourceCompatibility = 1.8
38+
targetCompatibility = 1.8
39+
40+
dependencies {
41+
apt 'org.immutables:value:2.5.6'
42+
compileOnly 'org.immutables:value:2.5.6:annotations'
43+
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.8.6'
44+
compile 'org.asynchttpclient:async-http-client:2.6.0'
45+
compile 'com.google.guava:guava:27.0-jre'
46+
compile 'com.fasterxml.jackson.datatype:jackson-datatype-guava:2.9.5'
47+
testCompile('org.assertj:assertj-core:3.6.2')
48+
testCompile('org.mockito:mockito-core:2.7.9')
49+
testCompile('junit:junit:4.4')
50+
}

0 commit comments

Comments
 (0)