-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (28 loc) · 768 Bytes
/
build.gradle
File metadata and controls
34 lines (28 loc) · 768 Bytes
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
plugins { id "org.jetbrains.kotlin.jvm" version "1.1.4-3" }
apply plugin: 'java-library-distribution'
group 'classyshark-bytecode-viewer'
version '7.0'
sourceCompatibility = 1.8
sourceSets.main.kotlin.srcDirs = ['src/']
sourceSets.main.resources.srcDirs = ['src/']
repositories {
flatDir {
dirs 'lib'
}
jcenter()
}
dependencies {
// local jars
compile name: 'procyon-decompiler-0.5.30', ext: 'jar'
compile "org.ow2.asm:asm-all:5.2"
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8"
compile "org.jetbrains.kotlin:kotlin-reflect"
}
jar {
manifest {
attributes 'Main-Class': 'ClassySharkBytecodeViewer'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}