-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (55 loc) · 1.39 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
buildscript {
project.ext {
groovyVersion = "2.4.3"
}
}
plugins {
id "com.jfrog.bintray" version "1.4"
id "maven-publish"
}
group 'com.eddgrant'
version '0.0.4'
apply plugin: 'groovy'
sourceCompatibility = 1.6
repositories {
mavenCentral()
}
dependencies {
compile "org.codehaus.groovy:groovy-all:${groovyVersion}"
compile 'org.sonatype.plexus:plexus-cipher:1.7'
compile 'org.sonatype.plexus:plexus-sec-dispatcher:1.3'
compile 'org.eclipse.sisu:org.eclipse.sisu.plexus:0.3.2'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
publishing {
publications {
MavenPasswordDecrypter(MavenPublication) {
from components.java
groupId project.group
artifactId project.name
version project.version
pom.withXml {
asNode().appendNode('description', 'A utility for decrypting and using Maven passwords')
asNode().appendNode
}
}
}
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_API_KEY')
configurations = ['archives']
publications = ['MavenPasswordDecrypter']
pkg {
repo = 'maven'
name = project.name
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/eddgrant/maven-password-decrypter.git'
version {
name = project.version
desc = "Maven Password Decrypter: v${project.version}"
released = new Date()
vcsTag = project.version
}
}
}