-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
29 lines (24 loc) · 991 Bytes
/
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
// Core9 Framework: module-boilerplate
// Build with: ./gradlew clean test build
// Publish with ./gradlew clean test build publish publishBintray
apply from: 'http://www.core9.io/buildfiles/gradle/source.gradle'
apply from: 'http://www.core9.io/buildfiles/gradle/publish.gradle'
buildscript {
apply from: 'http://www.core9.io/buildfiles/gradle/publish-build.gradle'
}
/**
* @TODO Somehow cannot be moved to publish.gradle
*/
task publishBintray (type: org._10ne.gradle.rest.RestTask, dependsOn: bintrayUpload) {
httpMethod = 'post'
uri = 'https://bintray.com/api/v1/content/core9/core9/' + project.name + '/' + project.version + '/publish'
username = System.env.BINTRAY_USER
password = System.env.BINTRAY_KEY
}
dependencies {
apiCompile 'io.core9:core-api:+'
apiCompile 'io.core9:module-server-api:+'
implCompile 'io.core9:module-template-engine-closure-api:+'
implCompile 'io.undertow:undertow-core:1.2.11.Final'
implCompile 'net.minidev:json-smart:2.1.1'
}