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

0.6.0

Created 22 October 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.6.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects