Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b6210d7

Browse files
author
Gustavo Avila
committed
Publish version 2.0.0
1 parent 8553441 commit b6210d7

File tree

2 files changed

+14
-24
lines changed

2 files changed

+14
-24
lines changed

‎build.gradle

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,10 @@
1-
plugins {
2-
id "com.jfrog.bintray" version "1.7.3"
3-
}
41
apply plugin: 'java'
52
apply plugin: 'maven-publish'
3+
apply plugin: 'signing'
64

75
sourceCompatibility = 1.6
86
targetCompatibility = 1.6
97

10-
bintray {
11-
user = System.getenv('BINTRAY_USER')
12-
key = System.getenv('BINTRAY_KEY')
13-
pkg {
14-
repo = 'maven'
15-
name = 'java-android-websocket-client'
16-
version {
17-
name = '1.2.1'
18-
gpg {
19-
sign = true
20-
passphrase = System.getenv('BINTRAY_GPG_PASSPHRASE')
21-
}
22-
}
23-
}
24-
publications = ['MyPublication']
25-
}
26-
278
def pomConfig = {
289
licenses {
2910
license {
@@ -34,7 +15,7 @@ def pomConfig = {
3415
developers {
3516
developer {
3617
name "Gustavo Avila"
37-
email System.getenv('DEVELOPER_EMAIL')
18+
email "gusavila92@gmail.com"
3819
}
3920
}
4021
scm {
@@ -56,13 +37,13 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
5637

5738
publishing {
5839
publications {
59-
MyPublication(MavenPublication) {
40+
maven(MavenPublication) {
6041
from components.java
6142
artifact sourcesJar
6243
artifact javadocJar
63-
groupId 'tech.gusavila92'
44+
groupId 'dev.gustavoavila'
6445
artifactId 'java-android-websocket-client'
65-
version '1.2.1'
46+
version '2.0.0'
6647
pom.withXml {
6748
def root = asNode()
6849
root.appendNode('name', 'Java/Android WebSocket Client')
@@ -72,4 +53,13 @@ publishing {
7253
}
7354
}
7455
}
56+
repositories {
57+
maven {
58+
url "https://s01.oss.sonatype.org/content/repositories/releases/"
59+
credentials {
60+
username = "gusavila92"
61+
password = "$pwd"
62+
}
63+
}
64+
}
7565
}

‎gradlew

100644100755
File mode changed.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /