[java-decompiler] migrates to Gradle

Simplifies CI (the outer IDEA project no longer bundles JUnit and AssertJ .jars).
This commit is contained in:
Roman Shevchenko
2017-09-27 16:22:43 +02:00
parent 7f63baab37
commit d85e0a6561
3 changed files with 26 additions and 59 deletions

24
build.gradle Normal file
View File

@@ -0,0 +1,24 @@
apply plugin: 'java'
compileJava {
sourceCompatibility '1.8'
targetCompatibility '1.8'
}
sourceSets {
main.java.srcDirs 'src'
test.java.srcDirs 'test'
}
repositories { jcenter() }
dependencies {
testCompile 'junit:junit:4.+'
testCompile 'org.assertj:assertj-core:3.+'
}
jar {
archiveName 'fernflower.jar'
manifest {
attributes 'Main-Class': 'org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler'
}
}