Skip to content

Commit

Permalink
Fix gradle warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst authored Jan 12, 2025
1 parent 1ecca17 commit 3bc55a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if (JavaVersion.current() <= JavaVersion.VERSION_22) {
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots/' }
}

ext {
Expand Down Expand Up @@ -67,7 +67,7 @@ if (! isJava21orHigher) {

// define the steps to apply to those files
trimTrailingWhitespace()
indentWithSpaces(2)
indentWithSpaces(2) // in Spotless version 7, change to: leadingTabsToSpaces(2)
endWithNewline()
}
java {
Expand All @@ -78,7 +78,7 @@ if (! isJava21orHigher) {
groovyGradle {
target '**/*.gradle'
greclipse() // which formatter Spotless should use to format .gradle files.
indentWithSpaces(2)
indentWithSpaces(2) // in Spotless version 7, change to: leadingTabsToSpaces(2)
trimTrailingWhitespace()
// endWithNewline() // Don't want to end empty files with a newline
}
Expand Down Expand Up @@ -182,7 +182,7 @@ javadoc {
check.dependsOn javadoc

task javadocWeb(type: Javadoc) {
description 'Upload API documentation to website.'
description = 'Upload API documentation to website.'
source = sourceSets.main.allJava
destinationDir = file("/cse/web/research/plumelib/${project.name}/api")
classpath = project.sourceSets.main.compileClasspath
Expand Down Expand Up @@ -226,6 +226,6 @@ check.dependsOn requireJavadoc

/* Make Emacs TAGS table */
task tags(type: Exec) {
description 'Run etags to create an Emacs TAGS table'
description = 'Run etags to create an Emacs TAGS table'
commandLine 'bash', '-c', "find src/ -name '*.java' | sort | xargs etags"
}
4 changes: 2 additions & 2 deletions gradle/mavencentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
apply plugin: 'maven-publish'
apply plugin: 'signing'

group 'org.plumelib'
version '1.0.9'
group = 'org.plumelib'
version = '1.0.9'
ext {
packageName = 'require-javadoc'
}
Expand Down

0 comments on commit 3bc55a5

Please sign in to comment.