-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ottuzzi/mavenized
Mavenized
- Loading branch information
Showing
14 changed files
with
64 additions
and
39 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.ipfs</groupId> | ||
<artifactId>api</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>java-ipfs-api</name> | ||
<url>https://github.com/ipfs/java-ipfs-api</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
<junit.version>4.12</junit.version> | ||
<hamcrest.version>1.3</hamcrest.version> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>${junit.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.hamcrest</groupId> | ||
<artifactId>hamcrest-core</artifactId> | ||
<version>${hamcrest.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.1</version> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
2 changes: 1 addition & 1 deletion
2
src/org/ipfs/Base58.java → src/main/java/org/ipfs/api/Base58.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs; | ||
package org.ipfs.api; | ||
|
||
/** | ||
* Copyright 2011 Google Inc. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs; | ||
package org.ipfs.api; | ||
|
||
import java.io.*; | ||
import java.net.*; | ||
|
2 changes: 1 addition & 1 deletion
2
src/org/ipfs/JSONParser.java → src/main/java/org/ipfs/api/JSONParser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs; | ||
package org.ipfs.api; | ||
|
||
import java.util.*; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
src/org/ipfs/MerkleNode.java → src/main/java/org/ipfs/api/MerkleNode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs; | ||
package org.ipfs.api; | ||
|
||
import java.util.*; | ||
import java.util.stream.*; | ||
|
2 changes: 1 addition & 1 deletion
2
src/org/ipfs/MultiAddress.java → src/main/java/org/ipfs/api/MultiAddress.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs; | ||
package org.ipfs.api; | ||
|
||
import java.io.*; | ||
import java.util.*; | ||
|
2 changes: 1 addition & 1 deletion
2
src/org/ipfs/Multihash.java → src/main/java/org/ipfs/api/Multihash.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs; | ||
package org.ipfs.api; | ||
|
||
import java.io.*; | ||
import java.util.*; | ||
|
2 changes: 1 addition & 1 deletion
2
src/org/ipfs/Multipart.java → src/main/java/org/ipfs/api/Multipart.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs; | ||
package org.ipfs.api; | ||
|
||
import java.io.*; | ||
import java.net.*; | ||
|
2 changes: 1 addition & 1 deletion
2
src/org/ipfs/NamedStreamable.java → ...in/java/org/ipfs/api/NamedStreamable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs; | ||
package org.ipfs.api; | ||
|
||
import java.io.*; | ||
import java.util.*; | ||
|
2 changes: 1 addition & 1 deletion
2
src/org/ipfs/Protocol.java → src/main/java/org/ipfs/api/Protocol.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs; | ||
package org.ipfs.api; | ||
|
||
import java.io.*; | ||
import java.net.*; | ||
|
13 changes: 8 additions & 5 deletions
13
test/org/ipfs/test/Test.java → src/test/java/org/ipfs/api/Test.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters