-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
79 lines (66 loc) · 1.8 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
group 'com.octo.nicolasmouchel'
version '1.5'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.3.1'
}
}
apply plugin: 'idea'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'maven-publish'
sourceCompatibility = JavaVersion.VERSION_1_6
repositories {
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.3.11'
compile gradleApi()
compile localGroovy()
compile 'com.appaloosa-store:appaloosa-client:1.3'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
task sourceJar(type: Jar) {
from sourceSets.main.allSource
}
publishing {
publications {
maven(MavenPublication) {
groupId 'com.octo.nicolasmouchel'
artifactId 'appaloosa-deploy'
version '1.5'
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
repositories {
maven {
// change to point to your repo, e.g. http://my.org/repo
url "$buildDir/repo"
}
}
}
bintray {
user = bintrayUser
key = bintrayKey
dryRun = false
publish = true
publications = ['maven']
pkg {
repo = 'maven' // The repository
name = 'appaloosa-deploy' // The package
desc = 'Gradle plugin to deploy applications on Appaloosa Store'
websiteUrl = 'https://github.com/sagix/appaloosa-deploy'
issueTrackerUrl = 'https://github.com/sagix/appaloosa-deploy/issues'
vcsUrl = 'https://github.com/sagix/appaloosa-deploy/issues.git'
licenses = ['ISC']
labels = ['appaloosa', 'deploy', 'continious', 'UDD']
publicDownloadNumbers = true
}
}