GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bump com.diffplug.gradle.spotless from 4.5.1 to 6.0.0 (#2471) · mockito/mockito@2c95eb0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • build.gradle
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
}
2121

2222
plugins {
23-
id 'com.diffplug.gradle.spotless' version '4.5.1'
23+
id 'com.diffplug.spotless' version '6.0.0'
2424
id 'eclipse'
2525
id 'com.github.ben-manes.versions' version '0.39.0'
2626
id 'biz.aQute.bnd.builder' version '6.0.0'
@@ -112,13 +112,13 @@ spotless {
112112
java {
113113
licenseHeaderFile rootProject.file('config/spotless/spotless.header')
114114

115-
customLazyGroovy('google-java-format') {
115+
custom 'google-java-format', { source ->
116116
com.google.googlejavaformat.java.JavaFormatterOptions options = new com.google.googlejavaformat.java.JavaFormatterOptions.Builder()
117117
.style(com.google.googlejavaformat.java.JavaFormatterOptions.Style.AOSP)
118118
.formatJavadoc(false)
119119
.build()
120120
com.google.googlejavaformat.java.Formatter formatter = new com.google.googlejavaformat.java.Formatter(options)
121-
return { source -> formatter.formatSource(source) }
121+
return formatter.formatSource(source)
122122
}
123123

124124
// This test contains emulation of same-line stubbings. The formatter would put them on a separate line.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.