File: 03-ignore-jmh-plugin.patch

package info (click to toggle)
asm 9.8-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,072 kB
  • sloc: java: 52,097; xml: 229; makefile: 11
file content (46 lines) | stat: -rw-r--r-- 1,418 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description: Ignore the JMH plugin
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.gradle
+++ b/build.gradle
@@ -31,7 +31,6 @@
   dependencies { classpath 'org.netbeans.tools:sigtest-maven-plugin:1.5' }
 }
 
-plugins { id 'me.champeau.jmh' version '0.7.2' apply false }
 plugins { id 'org.sonarqube' version '4.3.1.3277' apply false }
 
 description = 'ASM, a very small and fast Java bytecode manipulation framework'
@@ -120,10 +119,8 @@
 // Use "gradle benchmarks:jmh [-PjmhInclude='<regex>']" to run the benchmarks.
 project(':benchmarks') {
   description = "Benchmarks for ${rootProject.description}"
-  apply plugin: 'me.champeau.jmh'
   dependencies {
     implementation files('libs/csg-bytecode-1.0.0.jar', 'libs/jclasslib.jar')
-    jmh project(':asm'), project(':asm-tree') 
   }
   depends = [
     'kawa:kawa:1.7',
@@ -147,12 +144,12 @@
     classes.dependsOn "asm${version}"
   }
   configurations.create('input-classes-java11')
-  dependencies.add('input-classes-java11', 'io.vavr:vavr:0.10.0@jar')
   task copyInputClasses(type: Copy) {
     from configurations.'input-classes-java11'.collect{zipTree(it)}
     into "${buildDir}/input-classes-java11"
   }
   classes.dependsOn copyInputClasses
+/*
   jmh {
     jvmArgsAppend = ["-Duser.dir=${rootDir}"]
     resultFormat = 'CSV'
@@ -161,6 +158,7 @@
       includes = [jmhInclude]
     }
   }
+*/
 }
 
 project(':tools') {