-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
58 lines (49 loc) · 1.31 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
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id 'com.gradle.plugin-publish' version '0.20.0'
}
allprojects {
group = 'com.github.jk1'
description = 'TeamCity dependencies plugin resolves project dependencies via local TeamCity server'
version = '1.6.2'
repositories {
mavenCentral()
}
test {
useJUnitPlatform()
testLogging {
showStandardStreams = true
exceptionFormat = 'full'
}
outputs.upToDateWhen { false }
}
}
configurations {
subproject
}
dependencies {
subproject(project(":tcdeps-kt")) {
transitive = false
}
subproject(project(":tcdeps-groovy")){
transitive = false
}
}
jar {
dependsOn configurations.subproject
from { configurations.subproject.collect { zipTree(it) }}
}
// release publishing to gradle plugin repo
pluginBundle {
website = 'https://github.com/jk1/TeamCity-dependencies-gradle-plugin'
vcsUrl = 'https://github.com/jk1/TeamCity-dependencies-gradle-plugin'
description = project.description
tags = ['dependency-management', 'teamcity']
plugins {
teamcityDependenciesPlugin {
id = 'com.github.jk1.tcdeps'
displayName = 'Gradle plugin to fetch dependencies from JetBrains TeamCity'
}
}
}