Skip to content

Commit

Permalink
Remove dependency to cz.alenkacz.gradle.scalafmt (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenrost authored Jul 16, 2024
1 parent 93339ac commit e0bdc89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "cz.alenkacz:gradle-scalafmt:${gradle.scalafmt.version}"
}
// temporary exclude scalafmt plugin because of removed dependency to cz.alenkacz.gradle.scalafmt
//dependencies {
// classpath "cz.alenkacz:gradle-scalafmt:${gradle.scalafmt.version}"
//}
}

plugins {
Expand All @@ -37,8 +38,9 @@ buildScan {
}

subprojects {
apply plugin: 'scalafmt'
scalafmt.configFilePath = gradle.scalafmt.config
// temporary exclude scalafmt plugin because of removed dependency to cz.alenkacz.gradle.scalafmt
//apply plugin: 'scalafmt'
//scalafmt.configFilePath = gradle.scalafmt.config

group 'org.apache.openwhisk'
version '1.0.0-SNAPSHOT'
Expand Down
2 changes: 1 addition & 1 deletion tools/travis/scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ scancode/scanCode.py --config scancode/ASF-Release.cfg $ROOTDIR

# run scalafmt checks
cd $ROOTDIR
TERM=dumb ./gradlew checkScalafmtAll
#TERM=dumb ./gradlew checkScalafmtAll

# lint tests to all be actually runnable
MISSING_TESTS=$(grep -rL "RunWith" --include="*Tests.scala" tests)
Expand Down

0 comments on commit e0bdc89

Please sign in to comment.