Skip to content

Commit

Permalink
Remove useless dependency to rhino (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
qmetzler-luna authored Jul 21, 2021
1 parent eb92318 commit 2201a8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ object Deps {
const val kotlin_reflect = "org.jetbrains.kotlin:kotlin-reflect:${Versions.kotlin_reflect}"
const val java_cose = "com.augustcellars.cose:cose-java:${Versions.java_cose}"
const val json_validation = "com.github.fge:json-schema-validator:${Versions.json_validation}"
const val json_validation_rhino = "io.apisense:rhino-android:${Versions.json_validation_rhino}"
const val jackson_cbor = "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${Versions.jackson_cbor}"
const val bouncy_castle = "org.bouncycastle:bcpkix-jdk15to18:${Versions.bouncy_castle}"

Expand Down
1 change: 0 additions & 1 deletion buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ object Versions {

// Validation
const val json_validation = "2.2.6"
const val json_validation_rhino = "1.0"

// Tests
const val junit = "4.13.1"
Expand Down
7 changes: 4 additions & 3 deletions decoder/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ android {

dependencies {
coreLibraryDesugaring Deps.desugar_jdk_libs

implementation Deps.kotlin_stdlib
implementation Deps.kotlin_reflect
implementation Deps.java_cose
implementation Deps.json_validation
implementation Deps.json_validation_rhino
implementation(Deps.json_validation) {
exclude group: "org.mozilla", module: "rhino"
}
implementation Deps.jackson_cbor
implementation Deps.bouncy_castle

Expand Down

0 comments on commit 2201a8a

Please sign in to comment.