Skip to content

Commit c50a63e

Browse files
committed
save travis
1 parent ff089c5 commit c50a63e

File tree

2 files changed

+78
-77
lines changed

2 files changed

+78
-77
lines changed

build.gradle

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
apply plugin: 'java'
2-
apply plugin: 'maven'
3-
apply plugin: 'signing'
42

53
sourceCompatibility = 1.7
64
targetCompatibility = 1.7
@@ -21,78 +19,3 @@ dependencies {
2119
testCompile group: 'junit', name: 'junit', version: '4.11'
2220
}
2321

24-
task javadocJar(type: Jar) {
25-
classifier = 'javadoc'
26-
from javadoc
27-
}
28-
29-
task sourcesJar(type: Jar) {
30-
classifier = 'sources'
31-
from sourceSets.main.allSource
32-
}
33-
34-
artifacts {
35-
archives javadocJar, sourcesJar
36-
}
37-
38-
signing {
39-
sign configurations.archives
40-
}
41-
42-
uploadArchives {
43-
repositories {
44-
mavenDeployer {
45-
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
46-
47-
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
48-
authentication(userName: "yibin", password: "*****")
49-
}
50-
51-
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
52-
authentication(userName: "yibin", password: "*****")
53-
}
54-
55-
pom.project {
56-
name 'Word2VecJava'
57-
packaging 'jar'
58-
description 'Word2Vec Java Port'
59-
url 'https://github.com/medallia/Word2VecJava'
60-
61-
scm {
62-
connection 'scm:git:git@github.com:medallia/Word2VecJava.git'
63-
developerConnection 'scm:git:git@github.com:medallia/Word2VecJava.git'
64-
url 'https://github.com/medallia/Word2VecJava.git'
65-
}
66-
67-
licenses {
68-
license {
69-
name 'The MIT License'
70-
url 'http://opensource.org/licenses/MIT'
71-
}
72-
}
73-
74-
developers {
75-
developer {
76-
id 'wko'
77-
name 'Andrew Ko'
78-
email 'wko@medallia.com'
79-
}
80-
developer {
81-
id 'yibinlin'
82-
name 'Yibin Lin'
83-
email 'yibin@medallia.com'
84-
}
85-
developer {
86-
id 'yfpeng'
87-
name 'Yifan Peng'
88-
email 'yfpeng@udel.edu'
89-
}
90-
developer {
91-
id 'guerda'
92-
name 'Philip Gillißen'
93-
}
94-
}
95-
}
96-
}
97-
}
98-
}

build.gradle.release

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
apply plugin: 'maven'
2+
apply plugin: 'signing'
3+
4+
task javadocJar(type: Jar) {
5+
classifier = 'javadoc'
6+
from javadoc
7+
}
8+
9+
task sourcesJar(type: Jar) {
10+
classifier = 'sources'
11+
from sourceSets.main.allSource
12+
}
13+
14+
artifacts {
15+
archives javadocJar, sourcesJar
16+
}
17+
18+
signing {
19+
sign configurations.archives
20+
}
21+
22+
uploadArchives {
23+
repositories {
24+
mavenDeployer {
25+
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
26+
27+
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
28+
authentication(userName: "yibin", password: "*****")
29+
}
30+
31+
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
32+
authentication(userName: "yibin", password: "*****")
33+
}
34+
35+
pom.project {
36+
name 'Word2VecJava'
37+
packaging 'jar'
38+
description 'Word2Vec Java Port'
39+
url 'https://github.com/medallia/Word2VecJava'
40+
41+
scm {
42+
connection 'scm:git:git@github.com:medallia/Word2VecJava.git'
43+
developerConnection 'scm:git:git@github.com:medallia/Word2VecJava.git'
44+
url 'https://github.com/medallia/Word2VecJava.git'
45+
}
46+
47+
licenses {
48+
license {
49+
name 'The MIT License'
50+
url 'http://opensource.org/licenses/MIT'
51+
}
52+
}
53+
54+
developers {
55+
developer {
56+
id 'wko'
57+
name 'Andrew Ko'
58+
email 'wko@medallia.com'
59+
}
60+
developer {
61+
id 'yibinlin'
62+
name 'Yibin Lin'
63+
email 'yibin@medallia.com'
64+
}
65+
developer {
66+
id 'yfpeng'
67+
name 'Yifan Peng'
68+
email 'yfpeng@udel.edu'
69+
}
70+
developer {
71+
id 'guerda'
72+
name 'Philip Gillißen'
73+
}
74+
}
75+
}
76+
}
77+
}
78+
}

0 commit comments

Comments
 (0)