-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
35 lines (28 loc) · 877 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
plugins {
id 'java'
id 'maven-publish'
}
version '4.0.3'
subprojects {
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'maven-publish'
group 'com.illtamer.infinite.bot'
version = rootProject.version
repositories {
mavenLocal()
maven { url "https://maven.illtamer.com/releases" }
maven {url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'}
maven {url 'https://oss.sonatype.org/content/repositories/snapshots'}
mavenCentral()
}
java {
withJavadocJar()
withSourcesJar()
}
if (System.getenv('SONATYPE_KEY') == null && !project.hasProperty("signing.keyId")) {
// Don't even bother with signing/publishing if neither of these are set
return
}
// https://github.com/Vankka/DependencyDownload/blob/main/build.gradle
}