Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Remove dependency to cz.alenkacz.gradle.scalafmt #176

Merged
merged 2 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading