mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-09 08:33:13 +02:00
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
12 lines
157 B
Groovy
12 lines
157 B
Groovy
apply plugin: 'java'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
}
|
|
|
|
dependencies {
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
compile project(':java')
|
|
} |