Skip to content

Commit d096062

Browse files
committed
Reversing build.gradle
1 parent b573e56 commit d096062

File tree

1 file changed

+20
-26
lines changed

1 file changed

+20
-26
lines changed

build.gradle

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,43 @@
11
plugins {
22
// Apply the java-library plugin to add support for Java Library
3-
id 'java'
4-
id 'maven'
5-
id "com.github.johnrengelman.shadow" version "6.1.0"
3+
id 'java-library'
4+
id "com.github.johnrengelman.shadow" version "6.0.0"
65
}
76

87
jar {
9-
manifest {
10-
attributes(
11-
'Main-Class': 'icu.jnet.whatsjava.Main'
12-
)
13-
}
8+
manifest {
9+
attributes 'Main-Class': 'icu.jnet.whatsjava.Main'
10+
}
1411
}
1512

1613
repositories {
17-
mavenCentral()
14+
// Use jcenter for resolving dependencies.
15+
// You can declare any Maven/Ivy/file repository here.
16+
jcenter()
1817
}
1918

2019
dependencies {
21-
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
22-
// https://mvnrepository.com/artifact/com.google.guava/guava
23-
implementation group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
20+
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
21+
implementation 'com.google.guava:guava:28.0-jre'
2422

25-
// https://mvnrepository.com/artifact/com.google.code.gson/gson
26-
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
23+
implementation 'com.google.code.gson:gson:2.8.6'
2724

2825
// https://mvnrepository.com/artifact/commons-codec/commons-codec
29-
implementation group: 'commons-codec', name: 'commons-codec', version: '1.14'
26+
compile group: 'commons-codec', name: 'commons-codec', version: '1.14'
3027

3128
// https://mvnrepository.com/artifact/commons-io/commons-io
32-
implementation group: 'commons-io', name: 'commons-io', version: '2.7'
29+
compile group: 'commons-io', name: 'commons-io', version: '2.7'
3330

3431
// https://mvnrepository.com/artifact/org.whispersystems/curve25519-java
35-
implementation group: 'org.whispersystems', name: 'curve25519-java', version: '0.5.0'
32+
compile group: 'org.whispersystems', name: 'curve25519-java', version: '0.5.0'
3633

3734
// https://mvnrepository.com/artifact/com.google.zxing/core
38-
implementation group: 'com.google.zxing', name: 'core', version: '3.4.0'
39-
40-
// https://mvnrepository.com/artifact/at.favre.lib/hkdf
41-
implementation group: 'at.favre.lib', name: 'hkdf', version: '1.0.2'
42-
43-
// https://mvnrepository.com/artifact/com.neovisionaries/nv-websocket-client
44-
implementation group: 'com.neovisionaries', name: 'nv-websocket-client', version: '2.10'
35+
compile group: 'com.google.zxing', name: 'core', version: '3.4.0'
36+
37+
compile group: 'at.favre.lib', name: 'hkdf', version: '1.0.2'
4538

39+
compile 'com.neovisionaries:nv-websocket-client:2.10'
4640

47-
// Use JUnit test framework
48-
testImplementation 'junit:junit:4.12'
41+
// Use JUnit test framework
42+
testImplementation 'junit:junit:4.12'
4943
}

0 commit comments

Comments
 (0)