-
Notifications
You must be signed in to change notification settings - Fork 108
/
Copy pathbuild.gradle
49 lines (41 loc) · 843 Bytes
/
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
plugins {
id "java"
id "idea"
id "maven-publish"
}
group = "com.rakovets.course"
version = "1.1"
java {
withSourcesJar()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.6.3")
}
repositories {
mavenCentral()
jcenter()
}
compileJava {
options.release.set(11)
options.encoding("UTF-8")
}
compileTestJava {
options.release.set(11)
options.encoding("UTF-8")
}
test {
useJUnitPlatform()
systemProperty("file.encoding", "UTF-8")
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/rakovets/course-java-core")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}