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/tisonspieces/os-detector/

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

Version 0.3.0 (latest)

Created 05 February 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.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.3.0")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.tisonkun.osdetector"

Learn how to apply plugins to subprojects