Skip to content

Commit

Permalink
merge 2.x to default
Browse files Browse the repository at this point in the history
  • Loading branch information
pxb1988 committed Sep 30, 2014
2 parents bfdb997 + 49e2dab commit a9126a9
Show file tree
Hide file tree
Showing 469 changed files with 36,526 additions and 26,395 deletions.
2 changes: 2 additions & 0 deletions .hgignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
syntax: glob
*/target/*
target/*
*/build
build
*/.project
*/.classpath
*/.*
Expand Down
Empty file modified .hgtags
100755 → 100644
Empty file.
60 changes: 60 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
allprojects {
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'com.googlecode.d2j'
version = '2.0'
}

subprojects {
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = 1.7
targetCompatibility = 1.7

task packageSources(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts.archives packageSources
repositories {
mavenCentral()
}

// == support provided scope
configurations {
provided
}
sourceSets {
main { compileClasspath += configurations.provided }
test { compileClasspath += configurations.provided }
}

test.classpath += configurations.provided
// == end

// TODO gradle 2.0 fail on 'Compile'
// tasks.withType(Compile) {
// options.encoding = 'UTF-8'
// }
[compileJava, compileTestJava]*.options.collect {options ->options.encoding = 'UTF-8'}
dependencies {
testCompile group: 'junit', name: 'junit', version:'4.11'
}

jar {
manifest {
attributes("Implementation-Title": project.name,
"Implementation-Version": project.version,
"Build-Time": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"Revision": System.env.BUILD_REVISION?System.env.BUILD_REVISION:System.env.MERCURIAL_REVISION?System.env.MERCURIAL_REVISION:"HEAD",
"Build-Number": System.env.BUILD_NUMBER?System.env.BUILD_NUMBER:"-1",
)
}
from (project.parent.projectDir) {
include 'NOTICE.txt'
include 'LICENSE.txt'
into('META-INF')
}
}
}
13 changes: 0 additions & 13 deletions commons-lite/pom.xml

This file was deleted.

121 changes: 0 additions & 121 deletions commons-lite/src/main/java/org/apache/commons/codec/binary/Hex.java

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit a9126a9

Please sign in to comment.