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

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

The newest version!
package mill.scalalib

import mainargs.Flag
import mill.Task
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] = Task.Command {
    // nothing to do
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy