Refactor: gradle update

This commit is contained in:
harlekin
2021-05-11 15:36:59 +00:00
committed by Sheepit Renderfarm
parent 3f4a45c2c4
commit 624b3d2234
8 changed files with 53 additions and 76 deletions

View File

@@ -1,13 +1,7 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4'
}
plugins {
id 'java-library'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
@@ -24,22 +18,22 @@ shadowJar {
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
compile 'args4j:args4j:2.33'
compile 'net.lingala.zip4j:zip4j:1.3.3'
compile 'net.java.dev.jna:jna-platform:5.0.0'
compile 'org.simpleframework:simple-xml:2.7.1'
compile 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'com.formdev:flatlaf:0.30'
implementation 'args4j:args4j:2.33'
implementation group: 'net.lingala.zip4j', name: 'zip4j', version: '2.7.0'
implementation 'net.java.dev.jna:jna-platform:5.0.0' // couldnt upgrade
implementation 'org.simpleframework:simple-xml:2.7.1'
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'com.formdev:flatlaf:1.1.2'
implementation 'com.squareup.okhttp3:okhttp:4.7.2'
implementation 'com.squareup.okhttp3:okhttp-urlconnection:4.7.2'
// implementation "com.squareup.okhttp3:okhttp:4.9.0" //missing JavaNetCookieJar
}
jar {
@@ -48,7 +42,7 @@ jar {
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
configurations.implementation.collect { it.isDirectory() ? it : zipTree(it) }
}
}