-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
52 lines (41 loc) · 1.23 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
plugins {
id 'java'
id 'maven-publish'
}
group 'com.gmail.marcosav2010'
version '0.5.5'
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/marcosav/myfitnesspal-api")
credentials(PasswordCredentials)
}
}
publications {
gpr(MavenPublication) {
group rootProject.group
version rootProject.version
from components.java
}
}
}
repositories {
mavenCentral()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
test {
useJUnitPlatform()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
implementation group: 'org.jsoup', name: 'jsoup', version: '1.15.3'
testImplementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.4.0'
implementation group: 'org.projectlombok', name: 'lombok', version: '1.18.22'
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: '1.18.22'
}