forked from ccellado/kiosk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
91 changed files
with
329 additions
and
368 deletions.
There are no files selected for viewing
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,14 +1,22 @@ | ||
|
||
name := "kiosk" | ||
version := "1.0" | ||
updateOptions := updateOptions.value.withLatestSnapshots(false) | ||
organization := "org.ergoplatform" | ||
version := "1.0.0" | ||
//updateOptions := updateOptions.value.withLatestSnapshots(false) | ||
scalaVersion := "2.13.12" | ||
licenses := Seq("CC0" -> url("https://creativecommons.org/publicdomain/zero/1.0/legalcode")) | ||
publishTo := sonatypePublishToBundle.value | ||
scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/ergoplatform/kiosk"), | ||
"scm:[email protected]:ergoplatform/kiosk.git" | ||
) | ||
) | ||
|
||
libraryDependencies ++= Seq( | ||
"org.scala-lang.modules" %% "scala-collection-compat" % "2.11.0", | ||
"org.ergoplatform" %% "ergo-appkit" % "5.0.4", | ||
"com.squareup.okhttp3" % "mockwebserver" % "4.12.0" % Test, | ||
"org.scalatest" %% "scalatest" % "3.2.18" % Test, | ||
"com.squareup.okhttp3" % "mockwebserver" % "4.12.0", | ||
"org.scalatest" %% "scalatest" % "3.2.18", | ||
"org.scalatestplus" %% "scalacheck-1-17" % "3.2.18.0" % Test, | ||
"org.scalacheck" %% "scalacheck" % "1.17.0" % Test, | ||
"org.mockito" % "mockito-core" % "5.11.0" % Test | ||
|
@@ -42,6 +50,11 @@ pgpSecretRing := file("ci/secring.asc") | |
pgpPassphrase := sys.env.get("PGP_PASSPHRASE").map(_.toArray) | ||
usePgpKeyHex("D78982639AD538EF361DEC6BF264D529385A0333") | ||
|
||
credentials ++= (for { | ||
username <- Option(System.getenv().get("SONATYPE_USERNAME")) | ||
password <- Option(System.getenv().get("SONATYPE_PASSWORD")) | ||
} yield Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", username, password)).toSeq | ||
|
||
// prefix version with "-SNAPSHOT" for builds without a git tag | ||
ThisBuild / dynverSonatypeSnapshots := true | ||
// use "-" instead of default "+" | ||
|
3 changes: 2 additions & 1 deletion
3
...platform/appkit/FileMockedErgoClient.java → ...rm/kiosk/appkit/FileMockedErgoClient.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
4 changes: 3 additions & 1 deletion
4
...ergoplatform/appkit/MockedErgoClient.java → ...atform/kiosk/appkit/MockedErgoClient.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
This file was deleted.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
src/main/scala/kiosk/ErgoUtil.scala → ...ala/org/ergoplatform/kiosk/ErgoUtil.scala
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
2 changes: 1 addition & 1 deletion
2
src/main/scala/kiosk/appkit/Client.scala → ...rg/ergoplatform/kiosk/appkit/Client.scala
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
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
10 changes: 6 additions & 4 deletions
10
.../ergoplatform/appkit/MockErgoClient.scala → ...latform/kiosk/appkit/MockErgoClient.scala
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
2 changes: 1 addition & 1 deletion
2
src/main/scala/kiosk/appkit/Nodes.scala → ...org/ergoplatform/kiosk/appkit/Nodes.scala
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 kiosk.appkit | ||
package org.ergoplatform.kiosk.appkit | ||
|
||
object Nodes { | ||
val urls = Seq( | ||
|
6 changes: 3 additions & 3 deletions
6
.../kiosk/encoding/ScalaErgoConverters.scala → .../kiosk/encoding/ScalaErgoConverters.scala
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
4 changes: 2 additions & 2 deletions
4
src/main/scala/kiosk/ergo/DataType.scala → ...rg/ergoplatform/kiosk/ergo/DataType.scala
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
4 changes: 2 additions & 2 deletions
4
src/main/scala/kiosk/ergo/package.scala → ...org/ergoplatform/kiosk/ergo/package.scala
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
2 changes: 1 addition & 1 deletion
2
src/main/scala/kiosk/explorer/Curl.scala → ...rg/ergoplatform/kiosk/explorer/Curl.scala
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
10 changes: 6 additions & 4 deletions
10
src/main/scala/kiosk/explorer/Explorer.scala → ...rgoplatform/kiosk/explorer/Explorer.scala
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
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
6 changes: 3 additions & 3 deletions
6
src/main/scala/kiosk/tx/TxUtil.scala → ...la/org/ergoplatform/kiosk/tx/TxUtil.scala
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...est/scala/org/sh/kiosk/ergo/Auction.scala → ...org/ergoplatform/kiosk/ergo/Auction.scala
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.sh.kiosk.ergo | ||
package org.ergoplatform.kiosk.ergo | ||
|
||
trait Auction { | ||
val source = | ||
|
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
2 changes: 1 addition & 1 deletion
2
...est/scala/org/sh/kiosk/ergo/ErgoMix.scala → ...org/ergoplatform/kiosk/ergo/ErgoMix.scala
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.sh.kiosk.ergo | ||
package org.ergoplatform.kiosk.ergo | ||
|
||
trait ErgoMix { | ||
|
||
|
10 changes: 4 additions & 6 deletions
10
...scala/org/sh/kiosk/ergo/ErgoMixSpec.scala → ...ergoplatform/kiosk/ergo/ErgoMixSpec.scala
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
2 changes: 1 addition & 1 deletion
2
.../org/sh/kiosk/ergo/InterestFreeLoan.scala → ...latform/kiosk/ergo/InterestFreeLoan.scala
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
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
10 changes: 1 addition & 9 deletions
10
...la/org/sh/kiosk/ergo/OneWayUSDToken.scala → ...oplatform/kiosk/ergo/OneWayUSDToken.scala
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
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
10 changes: 1 addition & 9 deletions
10
...ala/org/sh/kiosk/ergo/YieldProtocol.scala → ...goplatform/kiosk/ergo/YieldProtocol.scala
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
Oops, something went wrong.