Skip to content

Commit 1f5e8a8

Browse files
committed
Migrate to gradle
1 parent 340dba4 commit 1f5e8a8

7 files changed

Lines changed: 297 additions & 0 deletions

File tree

build.gradle

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
apply plugin: 'java'
2+
apply plugin: 'maven'
3+
4+
group = 'org.apache.commons'
5+
version = '1.7-SNAPSHOT'
6+
7+
description = """Apache Commons CSV"""
8+
9+
sourceCompatibility = 1.7
10+
targetCompatibility = 1.7
11+
tasks.withType(JavaCompile) {
12+
options.encoding = 'UTF-8'
13+
}
14+
15+
configurations.all {
16+
}
17+
18+
repositories {
19+
20+
maven { url "https://repository.apache.org/snapshots" }
21+
maven { url "http://repo.maven.apache.org/maven2" }
22+
}
23+
dependencies {
24+
testCompile group: 'junit', name: 'junit', version:'4.12'
25+
testCompile group: 'org.mockito', name: 'mockito-all', version:'1.10.19'
26+
testCompile group: 'commons-io', name: 'commons-io', version:'2.6'
27+
testCompile group: 'org.apache.commons', name: 'commons-lang3', version:'3.8.1'
28+
testCompile group: 'com.h2database', name: 'h2', version:'1.4.196'
29+
}
30+
//packaging tests
31+
task packageTests(type: Jar) {
32+
from sourceSets.test.output
33+
classifier = 'tests'
34+
}
35+
artifacts.archives packageTests

gradle/wrapper/gradle-wrapper.jar

54.9 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 172 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: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

local.properties

Whitespace-only changes.

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rootProject.name = 'commons-csv'

0 commit comments

Comments
 (0)