Search Gradle plugins

com.huanshankeji.benchmark.kotlinx-benchmark-jvm-conventions

Applies the kotlinx-benchmark and `allopen` plugins, adds the kotlinx-benchmark dependencies, and registers a separate `benchmarks` source set that depends on `main` by default.

https://github.com/huanshankeji/gradle-common

Sources: https://github.com/huanshankeji/gradle-common.git

Version 0.5.1 (latest)

Created 15 March 2024.

Applies the kotlinx-benchmark and `allopen` plugins, adds the kotlinx-benchmark dependencies, and registers a separate `benchmarks` source set that depends on `main` by default.

Using the plugins DSL:

plugins {
  id("com.huanshankeji.benchmark.kotlinx-benchmark-jvm-conventions") version "0.5.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.huanshankeji:kotlin-common-gradle-plugins:0.5.1")
  }
}

apply(plugin = "com.huanshankeji.benchmark.kotlinx-benchmark-jvm-conventions")

Using the plugins DSL:

plugins {
  id "com.huanshankeji.benchmark.kotlinx-benchmark-jvm-conventions" version "0.5.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.huanshankeji:kotlin-common-gradle-plugins:0.5.1"
  }
}

apply plugin: "com.huanshankeji.benchmark.kotlinx-benchmark-jvm-conventions"

Learn how to apply plugins to subprojects