Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* switch to gradle * Refactor gradle build by: - configure common dependencies - rename subprojects to use 'logback-' as prefix - apply license headers to all source files
- Loading branch information
Showing
109 changed files
with
1,159 additions
and
582 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,22 +1,8 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### SBT template | ||
# Simple Build Tool | ||
# http://www.scala-sbt.org/release/docs/Getting-Started/Directories.html#configuring-version-control | ||
# Ignore Gradle project-specific cache directory | ||
.gradle | ||
|
||
.idea | ||
|
||
log | ||
release.properties | ||
*.releaseBackup | ||
|
||
*.iml | ||
dist/* | ||
# Ignore Gradle build output directory | ||
build | ||
target/ | ||
lib_managed/ | ||
src_managed/ | ||
project/boot/ | ||
project/plugins/project/ | ||
.history | ||
.cache | ||
.lib/ | ||
|
||
.idea |
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,84 @@ | ||
plugins { | ||
// http://andresalmiray.com/an-opinionated-way-to-build-gradle-projects/ | ||
// https://aalmiray.github.io/kordamp-gradle-plugins/#_project_structure | ||
id 'org.kordamp.gradle.project' version '0.14.0' | ||
id 'org.kordamp.gradle.bintray' version '0.14.0' | ||
id 'com.gradle.build-scan' version '2.2.1' | ||
} | ||
|
||
if (!project.hasProperty('bintrayUsername')) ext.bintrayUsername = '' | ||
if (!project.hasProperty('bintrayApiKey')) ext.bintrayApiKey = '' | ||
|
||
config { | ||
release = (rootProject.findProperty('release') ?: false).toBoolean() | ||
|
||
info { | ||
name = rootProject.name | ||
vendor = 'tersesystems' | ||
description = 'Terse Logback' | ||
inceptionYear = '2018' | ||
tags = ['logging', 'logback'] | ||
|
||
links { | ||
website = "https://github.com/tersesystem/${rootProject.name}" | ||
issueTracker = "https://github.com/tersesystem/${rootProject.name}/issues" | ||
scm = "https://github.com/tersesystem/${rootProject.name}.git" | ||
} | ||
|
||
people { | ||
person { | ||
id = 'wsargent' | ||
name = 'Will Sargent' | ||
roles = ['developer'] | ||
} | ||
} | ||
} | ||
|
||
license { | ||
licenses { | ||
license { | ||
id = 'CC0-1.0' | ||
} | ||
} | ||
} | ||
|
||
bintray { | ||
credentials { | ||
// http://andresalmiray.com/gaining-insight-into-a-gradle-build/ | ||
username = project.bintrayUsername | ||
password = project.bintrayApiKey | ||
} | ||
userOrg = 'tersesystems' | ||
name = rootProject.name | ||
} | ||
} | ||
|
||
allprojects { | ||
apply plugin: 'idea' | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
} | ||
|
||
subprojects { | ||
apply plugin: 'java' | ||
|
||
config { | ||
info { | ||
description = project.project_description | ||
} | ||
} | ||
|
||
dependencies { | ||
testCompile 'org.assertj:assertj-core:3.8.0' | ||
testCompile "junit:junit:$junitVersion" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion" | ||
testCompile "org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion" | ||
testCompile "org.junit.vintage:junit-vintage-engine:$junitVintageVersion" | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
censor/src/main/java/com/tersesystems/logback/censor/Censor.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
classic/src/main/resources/terse-logback/appenders/console-appenders.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
context/src/main/java/com/tersesystems/logback/context/ContextAware.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
version = 0.0.0 | ||
group = com.tersesystems.logback | ||
|
||
bytebuddyVersion = 1.9.9 | ||
junitVersion = 4.12 | ||
junitJupiterVersion = 5.0.1 | ||
junitVintageVersion = 4.12.1 | ||
junitPlatformVersion = 1.0.1 | ||
slf4jVersion = 1.7.25 |
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,9 @@ | ||
SPDX-License-Identifier: CC0-1.0 | ||
|
||
Copyright ${copyrightYear} ${author}. | ||
|
||
Licensed under the CC0 Public Domain Dedication; | ||
You may obtain a copy of the License at | ||
|
||
http://creativecommons.org/publicdomain/zero/1.0/ | ||
|
Binary file not shown.
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,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.