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 ad39844 commit c46ba07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
gradlePluginPortal()
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots/' }
}

ext {
Expand All @@ -36,8 +36,8 @@ dependencies {
// error_prone_annotations. (Even if the dependency is "compileOnly".)
// implementation "com.google.errorprone:error_prone_annotations:${errorproneVersion}"

testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.4'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.4'
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

// To upload to Maven Central, see instructions in the file.
Expand Down Expand Up @@ -67,7 +67,7 @@ spotless {

// define the steps to apply to those files
trimTrailingWhitespace()
indentWithSpaces(2)
leadingTabsToSpaces(2)
endWithNewline()
}
java {
Expand All @@ -78,7 +78,7 @@ spotless {
groovyGradle {
target '**/*.gradle'
greclipse() // which formatter Spotless should use to format .gradle files.
indentWithSpaces(2)
leadingTabsToSpaces(2)
trimTrailingWhitespace()
// endWithNewline() // Don't want to end empty files with a newline
}
Expand Down Expand Up @@ -176,7 +176,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 @@ -216,15 +216,15 @@ javadocWeb.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"
}


// Debugging support

task printCompileClasspaths {
description 'Print the compile-time classpaths'
description = 'Print the compile-time classpaths'
doFirst {
println 'Compile classpath:'
println sourceSets.main.compileClasspath.asPath
Expand Down
4 changes: 2 additions & 2 deletions gradle/mavencentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
apply plugin: 'maven-publish'
apply plugin: 'signing'

group 'org.plumelib'
version '1.10.0'
group = 'org.plumelib'
version = '1.10.0'
ext {
packageName = 'plume-util'
}
Expand Down

0 comments on commit c46ba07

Please sign in to comment.