-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
63 lines (56 loc) · 1.18 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
buildscript {
repositories {
jcenter()
}
}
plugins {
id "com.jfrog.bintray" version "1.7.1"
}
version = '0.2'
allprojects {
repositories {
jcenter()
}
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'java'
}
/*
ext {
packageName "1111"
repoName 'libs'
}*/
publishing {
publications {
MyPublication(MavenPublication) {
from components.java
groupId 'com.purpleraven'
artifactId 'antimat'
version '0.2'
}
}
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
publications = ['MyPublication']
pkg {
repo = 'libs'
name = 'antimat'
userOrg = user
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/purpleraven/antimat'
labels = ['antimat', 'ru']
publicDownloadNumbers = true
// attributes= ['a': ['ay1', 'ay2'], 'b': ['bee'], c: 'cee'] //Optional package-level attributes
/*version {
name = '1.0-Final'
desc = 'Gradle Bintray Plugin 1.0 final'
vcsTag = '1.3.0'
attributes = ['gradle-plugin': 'com.use.less:com.use.less.gradle:gradle-useless-plugin']
}*/
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.4'
}