Skip to content

Commit a9126a9

Browse files
committed
merge 2.x to default
2 parents bfdb997 + 49e2dab commit a9126a9

File tree

469 files changed

+36526
-26395
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

469 files changed

+36526
-26395
lines changed

.hgignore

100755100644
+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
syntax: glob
22
*/target/*
33
target/*
4+
*/build
5+
build
46
*/.project
57
*/.classpath
68
*/.*

.hgtags

100755100644
File mode changed.

build.gradle

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
allprojects {
2+
apply plugin: 'maven'
3+
apply plugin: 'idea'
4+
apply plugin: 'eclipse'
5+
group = 'com.googlecode.d2j'
6+
version = '2.0'
7+
}
8+
9+
subprojects {
10+
apply plugin: 'java'
11+
apply plugin: 'maven'
12+
sourceCompatibility = 1.7
13+
targetCompatibility = 1.7
14+
15+
task packageSources(type: Jar) {
16+
classifier = 'sources'
17+
from sourceSets.main.allSource
18+
}
19+
artifacts.archives packageSources
20+
repositories {
21+
mavenCentral()
22+
}
23+
24+
// == support provided scope
25+
configurations {
26+
provided
27+
}
28+
sourceSets {
29+
main { compileClasspath += configurations.provided }
30+
test { compileClasspath += configurations.provided }
31+
}
32+
33+
test.classpath += configurations.provided
34+
// == end
35+
36+
// TODO gradle 2.0 fail on 'Compile'
37+
// tasks.withType(Compile) {
38+
// options.encoding = 'UTF-8'
39+
// }
40+
[compileJava, compileTestJava]*.options.collect {options ->options.encoding = 'UTF-8'}
41+
dependencies {
42+
testCompile group: 'junit', name: 'junit', version:'4.11'
43+
}
44+
45+
jar {
46+
manifest {
47+
attributes("Implementation-Title": project.name,
48+
"Implementation-Version": project.version,
49+
"Build-Time": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
50+
"Revision": System.env.BUILD_REVISION?System.env.BUILD_REVISION:System.env.MERCURIAL_REVISION?System.env.MERCURIAL_REVISION:"HEAD",
51+
"Build-Number": System.env.BUILD_NUMBER?System.env.BUILD_NUMBER:"-1",
52+
)
53+
}
54+
from (project.parent.projectDir) {
55+
include 'NOTICE.txt'
56+
include 'LICENSE.txt'
57+
into('META-INF')
58+
}
59+
}
60+
}

commons-lite/pom.xml

-13
This file was deleted.

commons-lite/src/main/java/org/apache/commons/codec/binary/Hex.java

-121
This file was deleted.

commons-lite/src/main/java/org/apache/commons/collections/Transformer.java

-51
This file was deleted.

commons-lite/src/main/java/org/apache/commons/collections/map/LazyMap.java

-40
This file was deleted.

0 commit comments

Comments
 (0)