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

0.6.0

Created 23 October 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.6.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.6.0")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.tisonkun.osdetector"

Learn how to apply plugins to subprojects