-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
70 lines (66 loc) · 2.79 KB
/
build.gradle
File metadata and controls
70 lines (66 loc) · 2.79 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
}
}
apply plugin: 'com.jfrog.bintray'
allprojects {
repositories {
jcenter()
}
}
bintray {
user = 'zanbel'
key = 'fd3796c868aefcf69747d980ce606daebf12b612'
configurations = ['deployables'] //When uploading configuration files
// - OR -
// publications = ['mavenStuff'] //When uploading Maven-based publication files
// - AND/OR -
filesSpec { //When uploading any arbitrary files ('filesSpec' is a standard Gradle CopySpec)
from 'arbitrary-files'
into 'standalone_files/level1'
rename '(.+)\\.(.+)', '$1-suffix.$2'
}
dryRun = false //Whether to run this as dry-run, without deploying
publish = true //If version should be auto published after an upload
pkg {
repo = 'androidSnake'
//userOrg = 'zOrg'
//An optional organization name when the repo belongs to one of the user's orgs
name = 'androidSnake'
desc = 'Snake game for android controled by gyro/ accelerometer'
websiteUrl = 'https://github.com/zanbel/androidSnakePOC'
issueTrackerUrl = 'https://github.com/zanbel/androidSnakePOC/issues'
vcsUrl = 'https://github.com/zanbel/androidSnakePOC.git'
licenses = ['MIT']
labels = ['snake', 'android']
publicDownloadNumbers = true
// attributes= ['a': ['ay1', 'ay2'], 'b': ['bee'], c: 'cee'] //Optional package-level attributes
//Optional version descriptor
version {
name = '0.2' //Bintray logical version name
desc = ''
released = ''
//2 possible values: date in the format of 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ' OR a java.util.Date instance
vcsTag = ''
// attributes = [''] //Optional version-level attributes
gpg {
sign = false //Determines whether to GPG sign the files. The default is false
passphrase = 'passphrase' //Optional. The passphrase for GPG signing'
}
mavenCentralSync {
sync = false
//Optional (true by default). Determines whether to sync the version to Maven Central.
user = 'userToken' //OSS user token
password = 'paasword' //OSS user password
close = '1'
//Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
}
}
}
}