Skip to content

Commit e49f3e6

Browse files
authored
Merge pull request #2 from ArkEcosystem/develop
Initial Implementation
2 parents fb60de4 + 154a753 commit e49f3e6

43 files changed

Lines changed: 1746 additions & 29 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
1-
# Compiled class file
2-
*.class
3-
4-
# Log file
5-
*.log
6-
7-
# BlueJ files
8-
*.ctxt
9-
10-
# Mobile Tools for Java (J2ME)
11-
.mtj.tmp/
12-
13-
# Package Files #
14-
*.jar
15-
*.war
16-
*.ear
17-
*.zip
18-
*.tar.gz
19-
*.rar
20-
21-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
22-
hs_err_pid*
1+
*.iml
2+
.gradle
3+
.idea/
4+
.tags
5+
build
6+
out/

.travis.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
language: java
1+
language: groovy
2+
3+
jdk:
4+
- oraclejdk8
5+
- oraclejdk9
6+
- oraclejdk10
7+
- openjdk8
8+
9+
before_script:
10+
- chmod +x gradlew
11+
12+
script:
13+
- ./gradlew check
14+
- ./gradlew jacocoTestReport
15+
16+
after_success:
17+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66

77
> A simple Java API client for the ARK Blockchain.
88
9-
[![Build Status](https://img.shields.io/travis/ArkEcosystem/java-client/master.svg?style=flat-square)](https://travis-ci.org/ArkEcosystem/java-client)
10-
[![Latest Version](https://img.shields.io/github/release/ArkEcosystem/java-client.svg?style=flat-square)](https://github.com/ArkEcosystem/java-client/releases)
9+
[![Build Status](https://img.shields.io/travis/ArkEcosystem/java-client/master.svg)](https://travis-ci.org/ArkEcosystem/java-client)
10+
[![Codecov](https://img.shields.io/codecov/c/github/arkecosystem/java-client.svg)](https://codecov.io/gh/arkecosystem/java-client)
11+
[![Latest Version](https://img.shields.io/github/release/ArkEcosystem/java-client.svg)](https://github.com/ArkEcosystem/java-client/releases)
1112
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
1213

13-
## Installation
14+
## Documentation
1415

15-
```bash
16-
...
17-
```
16+
You can find installation instructions and detailed instructions on how to use this package at the [dedicated documentation site](https://docs.ark.io/v1.0/docs/clients-java).
1817

1918
## Security
2019

build.gradle

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
plugins {
2+
id 'groovy'
3+
id 'maven'
4+
id 'jacoco'
5+
}
6+
7+
group 'org.arkecosystem.client'
8+
version '0.1.0'
9+
10+
repositories {
11+
jcenter()
12+
}
13+
14+
task createPom {
15+
doLast {
16+
pom {
17+
project {
18+
groupId 'org.arkecosystem.client'
19+
version '0.1.0'
20+
artifactId 'arkecosystem-client'
21+
licenses {
22+
license {
23+
name 'MIT'
24+
distribution 'repo'
25+
}
26+
}
27+
}
28+
}.writeTo("$buildDir/libs/arkecosystem-client-0.1.0.pom")
29+
}
30+
}
31+
32+
dependencies {
33+
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.5.1'
34+
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.11.0'
35+
compile group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '3.11.0'
36+
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
37+
38+
testCompile group: 'org.spockframework', name: 'spock-core', version: '1.1-groovy-2.4'
39+
testCompile group: 'junit', name: 'junit', version: '4.12'
40+
41+
// Build blows up without this?
42+
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.0'
43+
}
44+
45+
jacocoTestReport {
46+
reports {
47+
xml.enabled true
48+
html.enabled false
49+
}
50+
}
51+
52+
task wrapper(type: Wrapper) {
53+
gradleVersion = '4.9'
54+
}

gradle/wrapper/gradle-wrapper.jar

53.1 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Tue Jul 31 19:13:47 EEST 2018
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-all.zip

gradlew

Lines changed: 172 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rootProject.name = 'arkecosystem-client'
2+

0 commit comments

Comments
 (0)