Fixat så att det är rätt gradle och rätt dependencies. Borde funka på en fresh build

This commit is contained in:
Ivan Bogosavljevic 2024-04-15 18:24:52 +02:00
parent ead83c4c5c
commit 6edd6172c8
2 changed files with 11 additions and 11 deletions

View file

@ -1,7 +1,7 @@
plugins { plugins {
id 'java' id 'java'
id 'application' id 'application'
id 'com.github.johnrengelman.shadow' version '4.0.3' id 'com.github.johnrengelman.shadow' version '8.1.1'
} }
repositories { repositories {
@ -10,14 +10,14 @@ repositories {
} }
dependencies { dependencies {
compile group: 'com.sparkjava', name: 'spark-core', version: '2.9.1' implementation group: 'com.sparkjava', name: 'spark-core', version: '2.9.1'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.30' implementation group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.30'
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.19' implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.19'
compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.30.1' implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.30.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.2' implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.2'
testCompile group: 'junit', name: 'junit', version: '4.13' testImplementation group: 'junit', name: 'junit', version: '4.13'
testCompile group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.0' testImplementation group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.0'
testCompile group: 'com.mashape.unirest', name: 'unirest-java', version: '1.4.9' testImplementation group: 'com.mashape.unirest', name: 'unirest-java', version: '1.4.9'
} }
group = 'com.krusty' group = 'com.krusty'

View file

@ -1,5 +1,5 @@
#Mon Feb 17 13:38:19 CET 2020 #Mon Apr 15 18:23:12 CEST 2024
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStorePath=wrapper/dists zipStorePath=wrapper/dists