-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle
39 lines (33 loc) · 1.35 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
buildscript {
repositories {
mavenCentral() { metadataSources { mavenPom(); ignoreGradleMetadataRedirection() } }
gradlePluginPortal() { metadataSources { mavenPom(); ignoreGradleMetadataRedirection() } }
}
dependencies {
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.19.0'
classpath 'com.palantir.gradle.failure-reports:gradle-failure-reports:1.13.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:3.1.0'
classpath 'com.palantir.gradle.jdks:gradle-jdks:0.59.0'
classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:0.16.0'
}
}
apply plugin: 'com.palantir.external-publish-custom'
apply plugin: 'com.palantir.failure-reports'
apply plugin: 'com.palantir.git-version'
apply plugin: 'com.palantir.jdks'
apply plugin: 'com.palantir.jdks.latest'
group 'com.palantir.launching'
version ((System.env.CIRCLE_TAG ?: gitVersion()).replaceAll('^v', ''))
externalPublishing {
publication('goJavaLauncher') {
artifactId 'go-java-launcher'
artifact file("out/dist/go-java-launcher/${project.version}/bin/go-java-launcher-${project.version}.tgz")
}
publication('goInit') {
artifactId 'go-init'
artifact file("out/dist/go-init/${project.version}/bin/go-init-${project.version}.tgz")
}
}
jdks {
daemonTarget = 17
}