From d85e0a6561961671e120fded8e2952cf27ff20cf Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Wed, 27 Sep 2017 16:22:43 +0200 Subject: [PATCH] [java-decompiler] migrates to Gradle Simplifies CI (the outer IDEA project no longer bundles JUnit and AssertJ .jars). --- .gitignore | 2 ++ build.gradle | 24 +++++++++++++++++++++ build.xml | 59 ---------------------------------------------------- 3 files changed, 26 insertions(+), 59 deletions(-) create mode 100644 .gitignore create mode 100644 build.gradle delete mode 100644 build.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a065e50 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/.gradle/ +/build/ \ No newline at end of file diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..e6483db --- /dev/null +++ b/build.gradle @@ -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' + } +} \ No newline at end of file diff --git a/build.xml b/build.xml deleted file mode 100644 index 0b00f6c..0000000 --- a/build.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -