blob: cf5359e7cbba1fccfb0aef31cc429fd0833f3073 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
diff --git a/java/java/build.gradle b/java/java/build.gradle
index 2f31542..bd52473 100644
--- a/java/java/build.gradle
+++ b/java/java/build.gradle
@@ -6,7 +6,6 @@ buildscript {
}
apply plugin: 'java'
-apply plugin: 'maven'
apply plugin: 'signing'
sourceCompatibility = 1.7
@@ -28,7 +27,7 @@ sourceSets {
}
dependencies {
- testCompile ('junit:junit:3.8.2')
+ testImplementation ('junit:junit:3.8.2')
}
test {
@@ -67,54 +66,6 @@ signing {
sign configurations.archives
}
-uploadArchives {
- configuration = configurations.archives
- repositories.mavenDeployer {
- beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
-
- repository(url: getReleaseRepositoryUrl()) {
- authentication(userName: getRepositoryUsername(), password: getRepositoryPassword())
- }
-
- pom.project {
- name 'signal-client-java'
- packaging 'jar'
- description 'Signal Protocol cryptography library for Java'
- url 'https://github.com/signalapp/libsignal-client'
-
- scm {
- url 'scm:git@github.com:signalapp/libsignal-client.git'
- connection 'scm:git@github.com:signalapp/libsignal-client.git'
- developerConnection 'scm:git@github.com:signalapp/libsignal-client.git'
- }
-
- licenses {
- license {
- name 'AGPLv3'
- url 'https://www.gnu.org/licenses/agpl-3.0.txt'
- distribution 'repo'
- }
- }
-
- developers {
- developer {
- name 'Signal Messenger LLC'
- }
- }
- }
- }
-}
-
-task installArchives(type: Upload) {
- description "Installs the artifacts to the local Maven repository."
- configuration = configurations['archives']
- repositories {
- mavenDeployer {
- repository url: "file://${System.properties['user.home']}/.m2/repository"
- }
- }
-}
-
task packageJavadoc(type: Jar, dependsOn: 'javadoc') {
from javadoc.destinationDir
classifier = 'javadoc'
|