Skip to content

Commit

Permalink
Revert "Convert subproject yubico-util-scala to test fixtures of yubi…
Browse files Browse the repository at this point in the history
…co-util"

This reverts commit ca4137c.
  • Loading branch information
emlun committed Mar 25, 2020
1 parent 0fee105 commit ac9fd21
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 10 deletions.
1 change: 1 addition & 0 deletions settings.gradle
Expand Up @@ -3,6 +3,7 @@ include ':webauthn-server-attestation'
include ':webauthn-server-core'
include ':webauthn-server-demo'
include ':yubico-util'
include ':yubico-util-scala'

include ':test-dependent-projects:java-dep-webauthn-server-attestation'
include ':test-dependent-projects:java-dep-webauthn-server-core'
Expand Down
2 changes: 1 addition & 1 deletion webauthn-server-attestation/build.gradle
Expand Up @@ -24,7 +24,7 @@ dependencies {
)

testImplementation(
testFixtures(project(':yubico-util')),
project(':yubico-util-scala'),
testFixtures(project(':webauthn-server-core')),
addVersion('junit:junit'),
addVersion('org.mockito:mockito-core'),
Expand Down
4 changes: 2 additions & 2 deletions webauthn-server-core/build.gradle
Expand Up @@ -32,13 +32,13 @@ dependencies {
)

testFixturesImplementation(
testFixtures(project(':yubico-util')),
project(':yubico-util-scala'),
addVersion('com.upokecenter:cbor'),
addVersion('org.bouncycastle:bcpkix-jdk15on'),
)

testImplementation(
testFixtures(project(':yubico-util')),
project(':yubico-util-scala'),
addVersion('com.fasterxml.jackson.datatype:jackson-datatype-jdk8'),
addVersion('junit:junit'),
addVersion('org.mockito:mockito-core'),
Expand Down
2 changes: 1 addition & 1 deletion webauthn-server-demo/build.gradle
Expand Up @@ -48,7 +48,7 @@ dependencies {
)

testImplementation(
testFixtures(project(':yubico-util')),
project(':yubico-util-scala'),
testFixtures(project(':webauthn-server-core')),

addVersion('junit:junit'),
Expand Down
15 changes: 15 additions & 0 deletions yubico-util-scala/build.gradle
@@ -0,0 +1,15 @@
plugins {
id 'scala'
}

description = 'Yubico internal Scala utilities'

dependencies {

implementation(
addVersion('org.scala-lang:scala-library'),
addVersion('org.scalacheck:scalacheck_2.13'),
)

}

7 changes: 1 addition & 6 deletions yubico-util/build.gradle
@@ -1,6 +1,5 @@
plugins {
id 'java-library'
id 'java-test-fixtures'
id 'scala'
}

Expand All @@ -22,12 +21,8 @@ dependencies {
addVersion('org.slf4j:slf4j-api'),
)

testFixturesApi(
addVersion('org.scala-lang:scala-library'),
addVersion('org.scalacheck:scalacheck_2.13'),
)

testImplementation(
project(':yubico-util-scala'),
addVersion('junit:junit'),
addVersion('org.scala-lang:scala-library'),
addVersion('org.scalacheck:scalacheck_2.13'),
Expand Down

0 comments on commit ac9fd21

Please sign in to comment.