Skip to content

Commit 6c18ae6

Browse files
committed
Added Gradle build files and wrapper in version 4.9
1 parent ba33258 commit 6c18ae6

File tree

8 files changed

+326
-0
lines changed

8 files changed

+326
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ target/
77
.idea
88
*~
99
pom.xml.versionsBackup
10+
.gradle/
11+
bin/

build.gradle

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
allprojects {
2+
3+
apply plugin: 'maven'
4+
group = 'com.github.jsonld-java'
5+
version = '0.8.0-SNAPSHOT'
6+
7+
}
8+
9+
subprojects {
10+
11+
apply plugin: 'java'
12+
13+
sourceCompatibility = 1.5
14+
targetCompatibility = 1.5
15+
16+
repositories {
17+
18+
mavenLocal()
19+
20+
maven {
21+
url "https://oss.sonatype.org/content/repositories/snapshots"
22+
}
23+
24+
maven {
25+
url "http://repo.maven.apache.org/maven2"
26+
}
27+
28+
}
29+
30+
}

core/build.gradle

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
description = 'JSONLD Java :: Core'
2+
3+
dependencies {
4+
5+
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version:'2.6.3'
6+
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version:'2.6.3'
7+
compile(group: 'org.apache.httpcomponents', name: 'httpclient-osgi', version:'4.5.1') {
8+
exclude(module: 'commons-logging')
9+
}
10+
compile(group: 'org.apache.httpcomponents', name: 'httpcore-osgi', version:'4.4.4') {
11+
exclude(module: 'commons-logging')
12+
}
13+
compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.13'
14+
compile group: 'commons-io', name: 'commons-io', version:'2.4'
15+
runtime group: 'org.slf4j', name: 'jcl-over-slf4j', version:'1.7.13'
16+
17+
testCompile(group: 'junit', name: 'junit', version:'4.12') {
18+
exclude(module: 'commons-logging')
19+
}
20+
testCompile group: 'org.slf4j', name: 'slf4j-log4j12', version:'1.7.13'
21+
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.10.19'
22+
23+
}
24+
25+
task packageTests(type: Jar) {
26+
from sourceSets.test.output
27+
classifier = 'tests'
28+
}
29+
30+
artifacts.archives packageTests

gradle/wrapper/gradle-wrapper.jar

53.1 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.9-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.

settings.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rootProject.name = 'jsonld-java-parent'
2+
include ':jsonld-java'
3+
project(':jsonld-java').projectDir = "$rootDir/core" as File

0 commit comments

Comments
 (0)