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.4.0

0.4.0

Created 27 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.4.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.tisonkun.osdetector"

Learn how to apply plugins to subprojects