Skip to content

Commit

Permalink
only shade used ASM portions
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Mar 11, 2019
1 parent 29bb4ad commit 54879e5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,12 @@ shadowJar {
include(dependency('commons-lang:commons-lang'))
include(dependency('org.codenarc:CodeNarc'))
include(dependency('org.ow2.asm:asm'))
include(dependency('org.ow2.asm:asm-commons'))
include(dependency('org.ow2.asm:asm-analysis'))
include(dependency('org.ow2.asm:asm-tree'))
include(dependency('org.ow2.asm:asm-util'))
}
relocate 'org.eclipse.jdt', 'com.netflix.nebula.lint.jdt'
relocate 'org.eclipse.jgit', 'com.netflix.nebula.lint.jgit'
relocate 'org.apache.commons.lang', 'com.netflix.nebula.lint.commons.lang'
relocate 'org.codenarc', 'com.netflix.nebula.lint.org.codenarc'
relocate 'org.objectweb.asm', 'com.netflix.nebula.lint.org.objectweb.asm'
relocate 'org.objectweb.asm.common', 'com.netflix.nebula.lint.org.objectweb.asm.common'
relocate 'org.objectweb.asm.tree.analysis', 'com.netflix.nebula.lint.org.objectweb.asm.tree.analysis'
relocate 'org.objectweb.asm.tree', 'com.netflix.nebula.lint.org.objectweb.asm.tree'
relocate 'org.objectweb.asm.util', 'com.netflix.nebula.lint.org.objectweb.asm.util'

// powerassert is packed inside codenarc without relocation for some reason
relocate 'org.codehaus.groovy.transform.powerassert', 'com.netflix.nebula.lint.org.codehaus.groovy.transform.powerassert'
Expand Down

0 comments on commit 54879e5

Please sign in to comment.