-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
48 lines (39 loc) · 1.01 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
buildscript {
repositories {
jcenter()
maven {
url "http://dl.bintray.com/pledbrook/plugins"
}
}
dependencies {
classpath "uk.co.cacoethes:lazybones-gradle:1.2.1"
}
}
repositories {
mavenLocal()
jcenter()
}
apply plugin: "uk.co.cacoethes.lazybones-templates"
apply plugin: 'groovy'
lazybones {
repositoryName = "<account>/<templates-repo>"
// It's best to pull this information from a gradle.properties file in the
// root directory. For example, gradle.properties could contain:
//
// bintrayUsername=dilbert
// bintrayApiKey=kdshfiu2htr082hg0h2ghkhsdafkh
//
// You could then set the following properties to `project.bintrayUsername`
// and `project.bintrayApiKey` respectively.
template('ms-base') {
fileMode "755", "gradlew", "**/*.sh"
}
repositoryUsername = "your_bintray_username"
repositoryApiKey = "your_bintray_api_key"
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.4.5'
}
task wrapper(type: Wrapper){
gradleVersion = '2.8'
}