Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ group = 'com.github.kusumotolab'
// In this section you declare where to find the dependencies of your project
repositories {
jcenter()
maven { url 'https://repo.gradle.org/gradle/libs-releases' }
maven { url 'https://repo.gradle.org/gradle/libs-snapshots' }
}

// In this section you declare the dependencies for your production and test code
Expand All @@ -57,7 +59,6 @@ dependencies {
implementation 'commons-codec:commons-codec:1.11'
implementation 'io.reactivex.rxjava2:rxjava:2.2.4'
implementation 'org.apache.commons:commons-lang3:3.7'
implementation 'org.apache.maven:maven-model:3.5.4'
implementation 'org.codehaus.plexus:plexus-utils:3.1.0'
implementation 'org.eclipse.jdt:org.eclipse.jdt.core:3.13.102'
implementation 'org.eclipse.platform:org.eclipse.equinox.common:3.10.200'
Expand All @@ -71,6 +72,17 @@ dependencies {
testImplementation 'com.google.jimfs:jimfs:1.1'
testImplementation 'com.github.stefanbirkner:system-rules:1.19.0'

// to construct maven project
implementation 'org.apache.maven:maven-embedder:3.6.3'
runtimeOnly 'org.apache.maven:maven-compat:3.6.3'
runtimeOnly 'org.apache.maven.resolver:maven-resolver-transport-wagon:1.6.1'
runtimeOnly 'org.apache.maven.resolver:maven-resolver-transport-http:1.6.1'
runtimeOnly 'org.eclipse.aether:aether-connector-basic:1.1.0'
runtimeOnly 'org.eclipse.aether:aether-transport-wagon:1.1.0'

// to construct gradle project
implementation group: 'org.gradle', name: 'gradle-tooling-api', version: '6.7.1'

// Declare by "runtimeOnly" cuz hamcrest is necessary to execute junit-test dynamically,
// but it doesn't seem to be loaded on compile task.
runtimeOnly 'org.hamcrest:hamcrest-core:1.3'
Expand Down
3 changes: 3 additions & 0 deletions example/BuildToolGradle/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea
.gradle
target/
21 changes: 21 additions & 0 deletions example/BuildToolGradle/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
plugins {
id 'java'
}

repositories {
jcenter()
}

compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}

dependencies {
implementation 'org.slf4j:slf4j-api:1.7.30'
runtimeOnly 'ch.qos.logback:logback-classic:1.2.3' // impls for slf4j api

testImplementation 'junit:junit:4.13'
testImplementation 'org.assertj:assertj-core:3.10.0'
testImplementation 'org.hamcrest:hamcrest:2.2'
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
185 changes: 185 additions & 0 deletions example/BuildToolGradle/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 104 additions & 0 deletions example/BuildToolGradle/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading