Search Gradle plugins

com.innogames.tools.hosts-editor

A Gradle plugin that creates a new hosts file with defined entries based on your local hosts file.

https://github.com/innogames/hosts-editor

Sources: https://github.com/innogames/hosts-editor

Version 1.0.1 (latest)

1.0.1

Created 09 March 2018.

A Gradle plugin that creates a new hosts file with defined entries based on your local hosts file.

Using the plugins DSL:

plugins {
  id("com.innogames.tools.hosts-editor") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.innogames.tools:hosts-editor:1.0.1")
  }
}

apply(plugin = "com.innogames.tools.hosts-editor")

Using the plugins DSL:

plugins {
  id "com.innogames.tools.hosts-editor" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.innogames.tools:hosts-editor:1.0.1"
  }
}

apply plugin: "com.innogames.tools.hosts-editor"

Learn how to apply plugins to subprojects