-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
48 lines (40 loc) · 1.11 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
plugins {
id 'maven-publish'
id "org.jetbrains.kotlin.jvm" version "1.9.22" apply false
}
publishing {
repositories {
maven {
name 'IzzelAliz'
url 'https://maven.izzel.io/releases'
credentials {
username = project.findProperty("maven_user")
password = project.findProperty("izzel_maven_token")
}
}
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'java-library'
group = 'icyllis.modernui'
version = "${modernui_version}" as String
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
compileOnly 'org.jetbrains:annotations:23.1.0'
testCompileOnly 'com.google.code.findbugs:jsr305:3.0.2'
testCompileOnly 'org.jetbrains:annotations:23.1.0'
}
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
options.release.set(17)
}
java {
withSourcesJar()
}
}