-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (32 loc) · 941 Bytes
/
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
plugins {
id "com.jfrog.bintray" version "1.7.3" apply false
id "org.gradle.java"
id "com.scuilion.syntastic" version "0.3.8"
}
allprojects {
apply plugin: 'com.jfrog.bintray'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
apply plugin: 'java-library'
repositories {
jcenter()
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allJava
}
bintray {
user = project.hasProperty('bintrayUser') ? "$bintrayUser" : ""
key = project.hasProperty('bintrayKey') ? "$bintrayKey" : ""
pkg {
repo = 'threadannotations'
name = 'threadannotations'
licenses = ['BSD 3-Clause']
vcsUrl = 'https://github.com/sjappig/threadannotations.git'
version {
name = "$project.version"
}
}
}
}