Skip to content

Commit 1822340

Browse files
authored
Add ethereum repository to fix build problems (bnb-chain#108)
1 parent 713c224 commit 1822340

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

pom.xml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
<groupId>com.binance.dex.api</groupId>
77
<artifactId>binance-dex-api-client</artifactId>
88
<version>1.1.3</version>
9+
10+
<repositories>
11+
<repository>
12+
<id>jitpack.io</id>
13+
<url>https://jitpack.io</url>
14+
</repository>
15+
</repositories>
916

1017
<properties>
1118
<com.squareup.retrofit2.version>2.6.0</com.squareup.retrofit2.version>
@@ -105,9 +112,9 @@
105112

106113
<!-- https://mvnrepository.com/artifact/org.ethereum/ethereumj-core -->
107114
<dependency>
108-
<groupId>org.ethereum</groupId>
109-
<artifactId>ethereumj-core</artifactId>
110-
<version>1.12.0-RELEASE</version>
115+
<groupId>com.github.ethereum</groupId>
116+
<artifactId>ethereumj</artifactId>
117+
<version>1.12.0</version>
111118
<exclusions>
112119
<exclusion>
113120
<groupId>org.ethereum</groupId>
@@ -121,6 +128,10 @@
121128
<groupId>org.iq80.leveldb</groupId>
122129
<artifactId>leveldb</artifactId>
123130
</exclusion>
131+
<exclusion>
132+
<groupId>org.ethereum</groupId>
133+
<artifactId>leveldbjni-all</artifactId>
134+
</exclusion>
124135
</exclusions>
125136
</dependency>
126137

@@ -163,4 +174,4 @@
163174
</plugins>
164175

165176
</build>
166-
</project>
177+
</project>

0 commit comments

Comments
 (0)