summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGravatar Joseph Burton2025-08-06 14:32:45 +0100
committerGravatar GitHub2025-08-06 14:32:45 +0100
commitcd38b03621928e64ddb449e4e63a511c0b371f94 (patch)
tree5b3b145b63c35af5eee459902d7af859c476e6ec /build.gradle
parentBump version (diff)
downloadenigma-fork-cd38b03621928e64ddb449e4e63a511c0b371f94.tar.gz
enigma-fork-cd38b03621928e64ddb449e4e63a511c0b371f94.tar.xz
enigma-fork-cd38b03621928e64ddb449e4e63a511c0b371f94.zip
Optimize JAR indexing (#552)
* Multithread JAR indexing * Replace `Analyzer` with custom `AnalyzerAdapter` implementation * Compute frames on class files from Java 1.5 or older * Delete InterpreterPair * Don't analyze non-enum initializers in EnumFieldNameFindingVisitor * Classes may not have frames in java 6
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle11
1 files changed, 11 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 46794c5..4453ab9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,12 +1,14 @@
1plugins { 1plugins {
2 id 'maven-publish' 2 id 'maven-publish'
3 id 'com.github.johnrengelman.shadow' version '8.1.1' apply false 3 id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
4 id 'com.diffplug.spotless' version '7.2.1'
4} 5}
5 6
6subprojects { 7subprojects {
7 apply plugin: 'java' 8 apply plugin: 'java'
8 apply plugin: 'maven-publish' 9 apply plugin: 'maven-publish'
9 apply plugin: 'checkstyle' 10 apply plugin: 'checkstyle'
11 apply plugin: "com.diffplug.spotless"
10 12
11 repositories { 13 repositories {
12 mavenLocal() 14 mavenLocal()
@@ -47,6 +49,15 @@ subprojects {
47 toolVersion = '10.12.4' 49 toolVersion = '10.12.4'
48 } 50 }
49 51
52 spotless {
53 lineEndings = com.diffplug.spotless.LineEnding.UNIX
54
55 java {
56 removeUnusedImports()
57 importOrder('java', 'javax', '', 'cuchaz.enigma')
58 }
59 }
60
50 publishing { 61 publishing {
51 publications { 62 publications {
52 "$project.name"(MavenPublication) { 63 "$project.name"(MavenPublication) {