-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
68 lines (59 loc) · 2.16 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven {
url "http://nexus.twilightcity.net:8081/repository/public"
}
}
dependencies {
classpath "org.dreamscale:gradle-core:1.3.8"
}
}
ext {
customPublication = true
repositoryName = 'maven'
if (!project.hasProperty("mavenUrl")) {
mavenUrl = "http://nexus.twilightcity.net:8081/repository/public"
}
repositoryPublicUrl = mavenUrl + "/content/groups/public"
repositoryReleaseUrl = mavenUrl + "/content/repositories/releases"
customGradleBaseVersion = "2.14.1"
customGradleVersion = "${customGradleBaseVersion}-ds.1.2"
customGradleGroupId = "org.dreamscale"
customGradleArtifactId = "dreamscale-gradle"
customGradleScriptResourcePath = "customized.gradle"
}
apply plugin: 'org.dreamscale.custom-gradle'
apply plugin: 'org.dreamscale.ide-ext'
apply plugin: "maven-publish"
version = ext.customGradleVersion
publishing {
publications {
GradleDistribution(MavenPublication) {
groupId customGradleGroupId
artifactId customGradleArtifactId
version customGradleVersion
artifact buildCustomGradleDistro
}
}
}
downloadGradle.gradleDownloadBase = "https://downloads.gradle-dn.com/distributions"
/*
bintray {
user = project.hasProperty('bintray.user') ? project.property('bintray.user') : System.getenv('BINTRAY_USER')
key = project.hasProperty('bintray.apiKey') ? project.property('bintray.apiKey') : System.getenv('BINTRAY_API_KEY')
publications = ['GradleDistribution']
pkg {
repo = 'maven-public'
userOrg = 'dreamscale-io'
name = "${customGradleGroupId}:${customGradleArtifactId}"
desc = "DreamScale Gradle distribution"
websiteUrl = 'https://github.com/dreamscale-io/dreamscale-gradle'
issueTrackerUrl = 'https://github.com/dreamscale-io/dreamscale-gradle/issues'
vcsUrl = 'https://github.com/dreamscale-io/dreamscale-gradle.git'
licenses = ['Apache-2.0']
labels = ['gradle']
}
}
*/