Skip to content

Commit 607ddde

Browse files
committed
add gradle wrapper, update to Elasticsearch 2.3.4
1 parent 5510226 commit 607ddde

File tree

7 files changed

+275
-31
lines changed

7 files changed

+275
-31
lines changed

build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ println "Gradle: " + gradle.gradleVersion + " JVM: " + org.gradle.internal.jvm.J
2525
println "Build: group: '${project.group}', name: '${project.name}', version: '${project.version}'"
2626
println "Timestamp: " + java.time.Instant.now().atZone(java.time.ZoneId.systemDefault()).toString()
2727

28-
group = 'org.xbib.elasticsearch.plugin'
29-
version = '2.3.3.0'
30-
3128
ext {
3229
pluginName = 'knapsack'
3330
pluginClassname = 'org.xbib.elasticsearch.plugin.knapsack.KnapsackPlugin'
@@ -38,15 +35,14 @@ ext {
3835
scmConnection = 'scm:git:git://github.com/' + user + '/' + name + '.git'
3936
scmDeveloperConnection = 'scm:git:git://github.com/' + user + '/' + name + '.git'
4037
versions = [
41-
'elasticsearch' : '2.3.3',
42-
'elasticsearch-helper' : '2.3.3.0',
38+
'elasticsearch' : '2.3.4',
39+
'elasticsearch-helper' : '2.3.4.0',
4340
'log4j': '2.5',
4441
'junit' : '4.12',
4542
'wagon' : '2.10'
4643
]
4744
}
4845

49-
5046
repositories {
5147
mavenCentral()
5248
mavenLocal()

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
group = org.xbib.elasticsearch.plugin
2+
version = 2.3.4.0
3+
org.gradle.daemon = true

gradle/publish.gradle

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,31 @@
1-
apply plugin: 'io.codearte.nexus-staging'
2-
3-
/*
4-
nexus {
5-
attachJavadoc = true
6-
attachSources = true
7-
attachTests = true
8-
sign = true
9-
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
10-
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots'
11-
}
12-
*/
13-
14-
nexusStaging {
15-
packageGroup = "org.xbib"
16-
}
17-
181
task xbibUpload(type: Upload) {
192
configuration = configurations.archives
203
uploadDescriptor = true
214
repositories {
225
if (project.hasProperty("xbibUsername")) {
236
mavenDeployer {
247
configuration = configurations.wagon
25-
repository(id: 'xbib.org',
26-
url: uri('scpexe://xbib.org/repository'),
27-
authentication: [userName: xbibUsername, privateKey: xbibPrivateKey])
8+
repository(url: uri('scpexe://xbib.org/repository')) {
9+
authentication(userName: xbibUsername, privateKey: xbibPrivateKey)
10+
}
2811
}
2912
}
3013
}
3114
}
3215

33-
task mavenCentralUpload(type: Upload) {
16+
task sonaTypeUpload(type: Upload) {
3417
configuration = configurations.archives
3518
uploadDescriptor = true
3619
repositories {
3720
if (project.hasProperty('ossrhUsername')) {
3821
mavenDeployer {
3922
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
40-
repository(id: 'ossrh', url: uri(ossrhReleaseUrl),
41-
authentication: [userName: ossrhUsername, password: ossrhPassword])
42-
snapshotRepository(id: 'ossrh', url: uri(ossrhSnapshotUrl),
43-
authentication: [userName: ossrhUsername, password: ossrhPassword])
23+
repository(url: uri(ossrhReleaseUrl)) {
24+
authentication(userName: ossrhUsername, password: ossrhPassword)
25+
}
26+
snapshotRepository(url: uri(ossrhSnapshotUrl)) {
27+
authentication(userName: ossrhUsername, password: ossrhPassword)
28+
}
4429
pom.project {
4530
name pluginName
4631
description pluginDescription

gradle/wrapper/gradle-wrapper.jar

52.1 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Thu Aug 04 18:04:44 CEST 2016
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip

gradlew

Lines changed: 164 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)