-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (47 loc) · 1.13 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7'
}
}
apply plugin: 'com.jfrog.bintray'
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
jcenter()
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.github.jasminb:jsonapi-converter:0.5'
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId 'com.instant2fa'
artifactId 'instant2fa'
version '1.0.1'
from components.java
}
}
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
publications = ['mavenJava']
pkg {
repo = 'instant2fa'
name = 'instant2fa'
userOrg = user
licenses = ['MIT']
vcsUrl = 'https://github.com/clef/instant2fa-java.git'
labels = ['two-factor', 'authentication', '2fa']
version {
name = '1.0.1'
}
}
}