-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (38 loc) · 915 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 "maven-publish"
}
group = 'band.kessoku.fake.env'
version = '0.1.0'
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
}
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
}
repositories {
mavenCentral()
}
dependencies {
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = base.archivesName.get()
from components.java
}
}
repositories {
maven {
name = "EnvPlaceHolder"
url = "https://maven.cloudsmith.io/kessokuteatime/envplaceholder/"
credentials {
username = "tex-true"
password = System.getenv("CLOUDSMITH_MAVEN_TOKEN")
}
}
}
}