Add new plugins for heroku
This commit is contained in:
@@ -18,9 +18,9 @@ apply plugin: 'org.springframework.boot'
|
|||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
apply plugin: 'application'
|
apply plugin: 'application'
|
||||||
|
|
||||||
application {
|
//application {
|
||||||
mainClassName = 'greenify.server.Application'
|
// mainClassName = 'greenify.server.Application'
|
||||||
}
|
//}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bootJar {
|
bootJar {
|
||||||
baseName = 'gs-consuming-rest'
|
baseName = 'greenify'
|
||||||
version = '0.1.0'
|
version = '1.0.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -48,6 +48,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
compile "org.bouncycastle:bcprov-jdk16:1.46", "org.bouncycastle:bcpg-jdk16:1.46", "org.bouncycastle:bcmail-jdk16:1.46", "org.bouncycastle:bctsp-jdk16:1.46"
|
||||||
compile("org.springframework.boot:spring-boot-starter")
|
compile("org.springframework.boot:spring-boot-starter")
|
||||||
compile("org.springframework:spring-web")
|
compile("org.springframework:spring-web")
|
||||||
compile("com.fasterxml.jackson.core:jackson-databind")
|
compile("com.fasterxml.jackson.core:jackson-databind")
|
||||||
|
|||||||
@@ -7,6 +7,19 @@ buildscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id "com.heroku.sdk.heroku-gradle" version "1.0.4"
|
||||||
|
}
|
||||||
|
|
||||||
|
heroku {
|
||||||
|
appName = "greenify43"
|
||||||
|
includes = ["${buildDir}/libs/greenify-server-1.0.0.jar"]
|
||||||
|
includeBuildDir = false
|
||||||
|
processTypes(
|
||||||
|
web: "java -Dserver.port=\$PORT -jar src/Server/build/libs/greenify-server-1.0.0.jar"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
@@ -16,8 +29,8 @@ apply plugin: 'jacoco'
|
|||||||
apply plugin: 'checkstyle'
|
apply plugin: 'checkstyle'
|
||||||
|
|
||||||
bootJar {
|
bootJar {
|
||||||
baseName = 'gs-rest-service'
|
baseName = 'greenify-server'
|
||||||
version = '0.1.0'
|
version = '1.0.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
|||||||
Reference in New Issue
Block a user