Skip to content

Commit

Permalink
Update spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
wsargent committed Apr 28, 2021
1 parent e8af7e5 commit 0dbd148
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<!---freshmark shields
output = [
link(shield('Maven central', 'mavencentral', '{{group}}:{{artifactIdMaven}}', 'blue'), 'https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22{{group}}%22%20AND%20a%3A%22{{artifactIdMaven}}%22'),
link(shield('Maven central', 'mavencentral', '{{group}}:{{artifactIdMaven}}', 'blue'), 'https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22{{group}}%22%20AND%20a%3A%22{{artifactIdMaven}}%22'),
link(shield('License Apache-2.0', 'license', 'Apache-2.0', 'blue'), 'https://www.tldrlegal.com/l/apache2'),
'',
link(image('Travis CI', 'https://travis-ci.org/tersesystems/blacklite.svg?branch=master'), 'https://travis-ci.org/tersesystems/blacklite')
].join('\n')
-->
[![Maven central](https://img.shields.io/badge/mavencentral-com.tersesystems.blacklite%3Ablacklite-logback-blue.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.tersesystems.blacklite%22%20AND%20a%3A%22blacklite-logback%22)
[![Maven central](https://img.shields.io/badge/mavencentral-com.tersesystems.blacklite%3Ablacklite--logback-blue.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.tersesystems.blacklite%22%20AND%20a%3A%22blacklite-logback%22)
[![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://www.tldrlegal.com/l/apache2)

[![Travis CI](https://travis-ci.org/tersesystems/blacklite.svg?branch=master)](https://travis-ci.org/tersesystems/blacklite)
Expand Down
12 changes: 12 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ buildscript {
}
}

plugins {
id 'com.diffplug.gradle.spotless' version '3.24.3'
}

spotless {
freshmark {
target 'README.md'
propertiesFile('gradle.properties')
}
}

apply from: "gradle/release.gradle"

// https://kordamp.org/kordamp-gradle-plugins/#_projects_dsl
Expand All @@ -24,6 +35,7 @@ allprojects {

subprojects { subproj ->
apply plugin: 'java'
apply plugin: 'com.diffplug.gradle.spotless'

group 'com.tersesystems.blacklite'

Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
group = com.tersesystems
group = com.tersesystems.blacklite
artifactIdMaven = blacklite-logback

junitJupiterVersion = 5.0.1
slf4jVersion = 1.7.30
Expand Down

0 comments on commit 0dbd148

Please sign in to comment.