forked from gleidsonmt/GNAvatarView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (67 loc) · 1.68 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
78
79
80
81
82
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
}
plugins {
id 'java'
id 'application'
id 'maven-publish'
}
repositories {
mavenCentral()
}
group = 'io.github.Gleidson28'
version = '1.0.5'
mainClassName = 'io.github.gleidson28.App'
apply plugin: 'com.bmuschko.nexus'
jar {
manifest {
attributes(
'Main-Class': 'io.github.gleidson28.App'
)
}
}
modifyPom {
project {
name 'GNDecorator'
description 'Customized avatar.'
url 'https://github.com/Gleidson28/GNAvatarView'
inceptionYear '2022'
scm {
url 'https://github.com/Gleidson28/GNAvatarView'
connection 'scm:https://github.com/Gleidson28/GNAvatarView.git'
developerConnection 'scm:git://github.com/Gleidson28/GNAvatarView.git'
}
licenses {
license {
name 'GNU General Public License v3.0'
url 'https://www.gnu.org/licenses/gpl-3.0-standalone.html'
distribution 'repo'
}
}
developers {
developer {
id = 'Gleidson2020'
name = 'Gleidson Neves da Silveira'
email = '[email protected]'
}
}
}
}
extraArchive {
sources = true
tests = true
javadoc = true
}
nexus {
sign = true
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}