All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mill.scalalib.OfflineSupportModule.scala Maven / Gradle / Ivy

There is a newer version: 0.12.0-RC2-17-07e173
Show newest version
package mill.scalalib

import mainargs.Flag
import mill.T
import mill.define.Command

trait OfflineSupportModule extends mill.Module {

  /**
   * Prepare the module for working offline. This should typically fetch (missing) resources like ivy dependencies.
   * @param all If `true`, it also fetches resources not always needed.
   */
  def prepareOffline(all: Flag): Command[Unit] = T.command {
    // nothing to do
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy