-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
60 lines (49 loc) · 1.2 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
['groovy','maven-publish','com.gradle.plugin-publish'].each {
apply plugin: it
}
version = '2.0.2'
group = 'net.praqma'
def artifact = 'VersionedBinaryArtifacts'
sourceCompatibility = targetCompatibility = '1.7'
buildscript{
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.publish:plugin-publish-plugin:0.9.7"
}
}
pluginBundle {
website = 'https://github.com/praqma/VersionedBinaryArtifacts'
vcsUrl = 'https://github.com/praqma/VersionedBinaryArtifacts'
description = 'A traceable build environment using binary dependencies'
tags = ['binaries', 'tracability']
plugins {
binaryArtifactPlugin {
id = 'net.praqma.vba'
displayName = 'Versioned Binary Artifact plugin'
}
}
}
dependencies {
compile gradleApi()
compile localGroovy()
}
publishing {
repositories {
maven {
url "${repositoryManagerUrl}/plugins-release-local"
credentials {
username repositoryManagerUsername
password repositoryManagerPassword
}
}
}
publications {
jar(MavenPublication) {
from components.java
}
}
}