-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (48 loc) · 1.69 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
buildscript {
ext {
// Spring has to stay at 2.x.x for now, as 3.x.x requires Java 17
springVersion = '2.7.17'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springVersion")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
jar {
archiveBaseName.set('SetlistFmToSpotifyPlaylist')
archiveFileName = "${archiveBaseName}"
}
springBoot {
mainClass.set('spotify.SetlistFmToSpotifyPlaylist')
}
sourceCompatibility = 1.11
repositories {
mavenCentral()
maven {
url 'https://jitpack.io'
}
maven {
url 'https://mymavenrepo.com/repo/FpgB1Mi6I9ud1Gd3tX0r/'
}
}
dependencies {
implementation 'spotify:spotify-dependencies:1.11.3'
implementation "org.springframework.boot:spring-boot-starter-web:$springVersion"
implementation 'org.thymeleaf:thymeleaf:3.1.2.RELEASE'
implementation 'org.thymeleaf:thymeleaf-spring5:3.1.2.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf:2.7.18'
implementation 'org.springframework.boot:spring-boot-starter-websocket:2.7.18'
implementation 'se.michaelthelin.spotify:spotify-web-api-java:8.4.1'
implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1' // fixes a version conflict with spotify-web-api-java v8.3.+
implementation 'org.apache.commons:commons-text:1.10.0'
implementation 'org.jsoup:jsoup:1.18.1'
testImplementation 'junit:junit:4.13.2'
testImplementation "org.springframework.boot:spring-boot-starter-test:$springVersion"
}