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

Version 1.6.2 (latest)

Created 14 February 2019.

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.6.2"
}

Using legacy plugin application:

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

apply plugin: "com.google.osdetector"

Using the plugins DSL:

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

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.6.2")
  }
}

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

Learn how to apply plugins to subprojects