-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
70 lines (54 loc) · 1.67 KB
/
Copy pathbuild.gradle
File metadata and controls
70 lines (54 loc) · 1.67 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
plugins {
id 'org.cadixdev.licenser' version '0.6.1' apply false
id 'maven-publish'
}
group('gg.saki')
version('1.0.0-SNAPSHOT')
description('A Java library for runtime dependency management')
allprojects {
repositories {
mavenCentral()
}
apply plugin: 'org.cadixdev.licenser'
apply plugin: 'java-library'
dependencies {
compileOnlyApi('org.jetbrains:annotations:24.0.1')
}
license {
header = project.rootProject.file('LICENSE')
include '**/*.java'
charset = this.properties['izonEncoding']
lineEnding = '\n'
style {
java = 'BLOCK_COMMENT'
}
}
tasks.withType(JavaCompile) {
options.encoding = this.properties['izonEncoding']
options.compilerArgs += ['-parameters', '-Xlint:all']
}
}
publishing {
publications {
maven(MavenPublication) {
from components.java
// TODO: Add javadoc & sources jars. And add saki repo and fill out the rest of the pom info.
pom {
name = 'izon'
description = this.description
url = 'https://github.com/SakiPowered/izon'
licenses {
license {
name = 'MIT License'
url = 'https://opensource.org/licenses/MIT'
}
}
scm {
connection = 'scm:git:git://github.com/SakiPowered/izon.git'
developerConnection = 'scm:git:ssh://github.com/SakiPowered/izon.git'
url = 'https://github.com/SakiPowered/izon'
}
}
}
}
}