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.7.3 (latest)

1.7.3

Created 09 February 2023.

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

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.google.osdetector"

Learn how to apply plugins to subprojects