Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id "me.champeau.gradle.jmh" version "0.4.6"
- }
- apply plugin: 'java'
- apply plugin: 'application'
- apply plugin: 'idea'
- apply plugin: 'me.champeau.gradle.jmh'
- group = 'c1741077'
- mainClassName = "c1741077.Main"
- sourceCompatibility = 11
- targetCompatibility = 11
- repositories {
- jcenter()
- }
- jar {
- manifest {
- attributes(
- 'Main-Class': mainClassName
- )
- }
- }
- jmh {
- duplicateClassesStrategy = 'warn'
- }
- dependencies {
- compile "org.openjdk.jmh:jmh-core:1.21"
- }
- jmhJar {
- manifest {
- attributes(
- 'Main-Class': "org.openjdk.jmh.Main"
- )
- }
- from {
- configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement