forked from lukflug/PanelStudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
43 lines (39 loc) · 788 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
allprojects {
group = "com.lukflug"
}
subprojects {
apply plugin: "java-library"
apply plugin: "maven-publish"
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
task sourcesJar(type: Jar) {
from sourceSets.main.allJava
classifier = "sources"
}
publishing {
publications {
mavenJava(MavenPublication) {
artifact jar
artifact sourcesJar
pom {
url = "https://github.com/lukflug/PanelStudio"
licenses {
license {
name = "MIT License"
url = "https://raw.githubusercontent.com/lukflug/PanelStudio/main/LICENSE"
}
}
developers {
developer {
id = "lukflug"
}
}
}
}
}
repositories {
maven {
url = "${projectDir}/../../lukflug.github.io/maven"
}
}
}
}