-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
77 lines (68 loc) · 1.6 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
plugins {
id 'java-library'
id 'eclipse'
id 'net.minecrell.licenser' version '0.4.1'
id 'maven-publish'
}
group = 'com.unascribed'
archivesBaseName = 'asyncsimplelog'
version = '4.6.1'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.9'
}
license {
header = file('LICENSE')
include '**/*.java'
}
java {
withJavadocJar()
withSourcesJar()
}
publishing {
repositories {
maven {
url "https://repo-api.sleeping.town/"
credentials {
username project.hasProperty("publish-username") ? project.getProperty("publish-username") : null
password project.hasProperty("publish-password") ? project.getProperty("publish-password") : null
}
}
}
publications {
mavenJava(MavenPublication) {
groupId = project.group
artifactId = 'asyncsimplelog'
version = project.version
from components.java
pom {
name = 'AsyncSimpleLog'
description = 'A fast, small, and useful logger implementation for SLF4j.'
url = 'https://github.com/unascribed/AsyncSimpleLog'
licenses {
license {
name = 'MIT License'
url = 'https://github.com/unascribed/AsyncSimpleLog/blob/trunk/LICENSE'
}
}
developers {
developer {
id = 'unascribed'
name = 'Una Thompson'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:https://github.com/unascribed/AsyncSimpleLog.git'
developerConnection = 'scm:git:ssh://[email protected]:unascribed/AsyncSimpleLog.git'
url = 'https://github.com/unascribed/AsyncSimpleLog'
}
}
}
}
}
tasks.withType(GenerateModuleMetadata) {
enabled = false
}