Files
libsignal/java/tests/build.gradle
Jordan Rose ef73a621f0 java: Get the zkgroup sources to build and pass tests
This is a pretty mechanical translation *except* for

- moving the RANDOM_LENGTH constant out of the obsolete Native class
  (libsignal-client has its own) into a new Constants class

- replacing the mocked SecureRandom with a custom subclass; Mockito
  was refusing to mock SecureRandom and honestly that's fair

- removing unused classes UUIDUtil and ZkGroupError

- updating to JUnit 4, which zkgroup's tests rely on
2021-11-08 11:06:31 -08:00

12 lines
157 B
Groovy

apply plugin: 'java'
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
testCompile 'junit:junit:4.12'
compile project(':java')
}