Search Gradle plugins

com.tisonkun.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/tisonkun/os-detector/

Sources: https://github.com/tisonkun/os-detector.git

Version 0.3.1

0.3.1

Created 24 September 2024.

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.tisonkun.osdetector") version "0.3.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.tisonkun.os:os-detector-gradle-plugin:0.3.1")
  }
}

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

Using the plugins DSL:

plugins {
  id "com.tisonkun.osdetector" version "0.3.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.tisonkun.os:os-detector-gradle-plugin:0.3.1"
  }
}

apply plugin: "com.tisonkun.osdetector"

Learn how to apply plugins to subprojects