Search Gradle plugins

cn.wlu.gradle.scalafmt

Gradle plugin that can run scalafmt as a part of your build with cache support to make it faster.

https://github.com/wugui2020/gradle-scalafmt

Sources: https://github.com/wugui2020/gradle-scalafmt

Version 0.2 (latest)

0.2

Created 27 June 2019.

Gradle plugin that can run scalafmt as a part of your build with cache support to make it faster.

Using the plugins DSL:

plugins {
  id("cn.wlu.gradle.scalafmt") version "0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.wlu:gradle-scalafmt:0.2")
  }
}

apply(plugin = "cn.wlu.gradle.scalafmt")

Using the plugins DSL:

plugins {
  id "cn.wlu.gradle.scalafmt" version "0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.wlu:gradle-scalafmt:0.2"
  }
}

apply plugin: "cn.wlu.gradle.scalafmt"

Learn how to apply plugins to subprojects