Search Gradle plugins

com.google.osdetector

A Gradle plugin that detects the OS name and architecture, providing a uniform classifier to be used in the names of native artifacts.

https://github.com/google/osdetector-gradle-plugin

Sources: https://github.com/google/osdetector-gradle-plugin

Version 1.4.0

Created 11 September 2015.

A Gradle plugin that detects the OS name and architecture, providing a uniform classifier to be used in the names of native artifacts.

Using the plugins DSL:

plugins {
  id("com.google.osdetector") version "1.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.google.gradle:osdetector-gradle-plugin:1.4.0")
  }
}

apply(plugin = "com.google.osdetector")

Using the plugins DSL:

plugins {
  id "com.google.osdetector" version "1.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.google.gradle:osdetector-gradle-plugin:1.4.0"
  }
}

apply plugin: "com.google.osdetector"

Learn how to apply plugins to subprojects