Skip to content

Commit ce7c826

Browse files
erikdwjzillmann
authored andcommitted
tabs are evil; also remove trailing whitespace
1 parent 8975c17 commit ce7c826

File tree

1 file changed

+44
-48
lines changed

1 file changed

+44
-48
lines changed

‎build.gradle‎

Lines changed: 44 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,28 @@ jar {
2222
//--------------------
2323
repositories {
2424
flatDir(dirs: 'lib')
25-
// mavenCentral()
26-
// maven {
25+
// mavenCentral()
26+
// maven {
2727
// url "https://oss.sonatype.org/content/repositories/com101tec-553"
2828
//}
2929
}
3030
dependencies {
31-
compile ('log4j:log4j:1.2.15') {
31+
compile ('log4j:log4j:1.2.15') {
3232
exclude group: "com.sun.jdmk", module: "jmxtools"
3333
exclude group: "com.sun.jmx", module: "jmxri"
3434
exclude group: "javax.jms", module: "jms"
35-
}
36-
compile 'org.apache.zookeeper:zookeeper:3.4.6'
35+
}
36+
compile 'org.apache.zookeeper:zookeeper:3.4.6'
3737
compile 'org.slf4j:slf4j-api:1.6.1'
3838
compile 'org.slf4j:slf4j-log4j12:1.6.1'
3939

40-
testCompile 'junit:junit:4.12'
40+
testCompile 'junit:junit:4.12'
4141
testCompile 'org.assertj:assertj-core:2.0.0'
42-
testCompile 'commons-io:commons-io:1.4'
43-
testCompile 'org.mockito:mockito-core:1.8.0'
44-
45-
//dependencies of mockito
46-
testCompile files('lib/objenesis-1.0.jar', 'lib/hamcrest-core-1.1.jar')
42+
testCompile 'commons-io:commons-io:1.4'
43+
testCompile 'org.mockito:mockito-core:1.8.0'
44+
45+
//dependencies of mockito
46+
testCompile files('lib/objenesis-1.0.jar', 'lib/hamcrest-core-1.1.jar')
4747
}
4848

4949

@@ -54,29 +54,27 @@ task sourceJar(type: Jar) {
5454
classifier = 'sources'
5555
from sourceSets.main.allSource
5656
}
57-
task javadocJar(type: Jar, dependsOn:javadoc) {
58-
classifier = 'javadoc'
59-
from javadoc.destinationDir
60-
}
57+
task javadocJar(type: Jar, dependsOn:javadoc) {
58+
classifier = 'javadoc'
59+
from javadoc.destinationDir
60+
}
6161
artifacts {
62-
archives sourceJar
62+
archives sourceJar
6363
archives javadocJar
6464
}
65-
task jars(dependsOn: ['jar','sourceJar'], description: 'Build jar & source jar') << {}
65+
task jars(dependsOn: ['jar', 'sourceJar'], description: 'Build jar & source jar') << {}
6666

6767

6868
//--------------------
6969
// Eclipse Setup
7070
//--------------------
7171
eclipse {
72-
classpath {
73-
defaultOutputDir = file('build-eclipse')
74-
}
72+
classpath { defaultOutputDir = file('build-eclipse') }
7573
}
7674

7775
task eclipseJdtPrepare(type: Copy) {
78-
from rootProject.file('src/build/eclipse/org.eclipse.jdt.core.prefs')
79-
into project.file('.settings/')
76+
from rootProject.file('src/build/eclipse/org.eclipse.jdt.core.prefs')
77+
into project.file('.settings/')
8078
}
8179
tasks["eclipseJdt"].dependsOn(eclipseJdtPrepare)
8280

@@ -96,39 +94,39 @@ uploadArchives {
9694
repositories.mavenDeployer {
9795
//repository(url: "file:///tmp/mavenRepo")
9896
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
99-
authentication(userName: sonatypeUsername, password: sonatypePassword)
97+
authentication(userName: sonatypeUsername, password: sonatypePassword)
10098
}
10199
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
102100
pom.project {
103-
name 'ZkClient'
104-
packaging 'jar'
105-
description 'A zookeeper client, that makes life a little easier.'
106-
url 'https://github.com/sgroschupf/zkclient'
107-
licenses {
108-
license {
109-
name 'The Apache Software License, Version 2.0'
101+
name 'ZkClient'
102+
packaging 'jar'
103+
description 'A zookeeper client, that makes life a little easier.'
104+
url 'https://github.com/sgroschupf/zkclient'
105+
licenses {
106+
license {
107+
name 'The Apache Software License, Version 2.0'
110108
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
111109
distribution 'repo'
112110
}
113111
}
114112
scm {
115-
url 'https://github.com/sgroschupf/zkclient'
116-
connection 'scm:git:git://github.com/sgroschupf/zkclient.git'
117-
developerConnection 'scm:git:https://github.com/sgroschupf/zkclient.git'
113+
url 'https://github.com/sgroschupf/zkclient'
114+
connection 'scm:git:git://github.com/sgroschupf/zkclient.git'
115+
developerConnection 'scm:git:https://github.com/sgroschupf/zkclient.git'
118116
}
119117
developers {
120-
developer {
121-
id 'sgroschupf'
122-
name 'Stefan Groshupf'
123-
}
124-
developer {
125-
id 'pvoss'
126-
name 'Peter Voss'
127-
}
128-
developer {
129-
id 'jzillmann'
130-
name 'Johannes Zillmann'
131-
}
118+
developer {
119+
id 'sgroschupf'
120+
name 'Stefan Groshupf'
121+
}
122+
developer {
123+
id 'pvoss'
124+
name 'Peter Voss'
125+
}
126+
developer {
127+
id 'jzillmann'
128+
name 'Johannes Zillmann'
129+
}
132130
}
133131
}
134132
}
@@ -138,7 +136,5 @@ uploadArchives {
138136
//--------------------
139137
// Util methods
140138
//--------------------
141-
task wrapper(type: Wrapper, description: 'Generate the Gradle Wrapper') {
142-
gradleVersion = '1.3'
143-
}
139+
task wrapper(type: Wrapper, description: 'Generate the Gradle Wrapper') { gradleVersion = '1.3' }
144140

0 commit comments

Comments
 (0)