-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
469 changed files
with
36,526 additions
and
26,395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
syntax: glob | ||
*/target/* | ||
target/* | ||
*/build | ||
build | ||
*/.project | ||
*/.classpath | ||
*/.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
121 changes: 0 additions & 121 deletions
121
commons-lite/src/main/java/org/apache/commons/codec/binary/Hex.java
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
commons-lite/src/main/java/org/apache/commons/collections/Transformer.java
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
commons-lite/src/main/java/org/apache/commons/collections/map/LazyMap.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.