This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
76 lines (62 loc) · 1.92 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
buildscript {
repositories {
jcenter()
maven { url = 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:1.2'
classpath 'org.ajoberstar:semver-vcs-gradle-grgit:0.1.0'
}
}
apply plugin: 'org.sonarqube'
apply plugin: 'org.ajoberstar.semver-vcs-grgit'
allprojects {
group = 'org.graclj'
plugins.withId('java') {
repositories {
jcenter()
}
}
plugins.withId('maven-publish') {
publishing {
repositories {
mavenLocal()
}
}
}
plugins.withId('com.jfrog.bintray') {
bintray {
if (project.hasProperty('bintrayUser')) {
user = bintrayUser
key = bintrayKey
}
publications = ['main']
publish = false
pkg {
userOrg = 'graclj'
repo = 'maven'
name = 'graclj'
websiteUrl = 'https://github.com/graclj/graclj'
issueTrackerUrl = 'https://github.com/graclj/graclj/issues'
vcsUrl = 'https://github.com/graclj/graclj.git'
licenses = ['EPL-1.0']
labels = ['gradle', 'clojure', 'clojurescript', 'plugin']
publicDownloadNumbers = true
githubRepo = 'graclj/graclj'
githubReleaseNotesFile = 'README.md'
version {
name = project.version
vcsTag = project.version
attributes = [
'gradle-plugin': ['org.graclj.clojure-lang:org.graclj:graclj-plugin', 'org.graclj.clojure-test-suite:org.graclj:graclj-plugin']
]
}
}
}
}
}
sonarqube {
properties {
property 'sonar.projectVersion', version.toString().split('-')[0]
}
}