forked from VibrantClouds/Unofficial-Robinhood-Api
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (33 loc) · 1.04 KB
/
build.gradle
File metadata and controls
42 lines (33 loc) · 1.04 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '2.0.4'
}
repositories {
mavenCentral()
mavenLocal()
jcenter()
}
sourceCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
group = 'com.ampro'
version = '0.8.4'
rootProject.description = 'A Java wrapper for the Robinhood investing service\'s API'
dependencies {
//Running
compile group: 'io.github.openunirest', name: 'unirest-java', version: '2.2.04' //OpenUnirest
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
//Testing
testCompile 'junit:junit:4.12'
testCompile group: 'com.github.tomakehurst', name: 'wiremock', version: '2.18.0'
//publishing
//classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.11.0"
}
task sourcesJar(type: Jar) {
from sourceSets.main.allJava
classifier 'sources'
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}