Skip to content

Commit 8a0c760

Browse files
author
Daniel Bustamante Ospina
committed
Object mapper utilities new repo home
1 parent 051c36d commit 8a0c760

File tree

13 files changed

+574
-0
lines changed

13 files changed

+574
-0
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: java
2+
3+
git:
4+
quiet: true
5+
6+
jdk:
7+
- oraclejdk8
8+
- oraclejdk11
9+
10+
before_cache:
11+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
12+
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
13+
cache:
14+
directories:
15+
- $HOME/.gradle/caches/
16+
- $HOME/.gradle/wrapper/

build.gradle

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
subprojects {
3+
apply plugin: "java"
4+
5+
sourceCompatibility = JavaVersion.VERSION_1_8
6+
7+
task sourcesJar(type: Jar, dependsOn: classes) {
8+
classifier = 'sources'
9+
from sourceSets.main.allSource
10+
}
11+
12+
javadoc.failOnError = false
13+
task javadocJar(type: Jar, dependsOn: javadoc) {
14+
classifier = 'javadoc'
15+
from javadoc.destinationDir
16+
}
17+
18+
artifacts {
19+
archives sourcesJar
20+
archives javadocJar
21+
}
22+
23+
repositories {
24+
mavenCentral()
25+
}
26+
27+
}
28+
29+

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version=0.1.0
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-5.0-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: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
rootProject.name = 'ReactiveArchitectureCommons'
2+
3+
FileTree buildFiles = fileTree(rootDir) {
4+
List excludes = gradle.startParameter.projectProperties.get("excludeProjects")?.split(",")
5+
include '**/*.gradle'
6+
exclude 'main.gradle', 'build', '**/gradle', '**/settings.gradle', 'buildSrc', '/build.gradle', '.*', 'out'
7+
exclude '**/grails3'
8+
if(excludes) {
9+
exclude excludes
10+
}
11+
}
12+
13+
String rootDirPath = rootDir.absolutePath + File.separator
14+
buildFiles.each { File buildFile ->
15+
16+
boolean isDefaultName = 'build.gradle'.equals(buildFile.name)
17+
if(isDefaultName) {
18+
String buildFilePath = buildFile.parentFile.absolutePath
19+
String projectPath = buildFilePath.replace(rootDirPath, '').replace(File.separator, ':')
20+
include projectPath
21+
} else {
22+
String projectName = buildFile.name.replace('.gradle', '');
23+
String projectPath = ':' + projectName;
24+
include projectPath
25+
def project = findProject("${projectPath}")
26+
project.name = projectName
27+
project.projectDir = buildFile.parentFile
28+
project.buildFileName = buildFile.name
29+
}
30+
}

0 commit comments

Comments
 (0)