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: 'application'
|
||||
|
||||
application {
|
||||
mainClassName = 'greenify.server.Application'
|
||||
}
|
||||
//application {
|
||||
// mainClassName = 'greenify.server.Application'
|
||||
//}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -39,8 +39,8 @@ test {
|
||||
}
|
||||
|
||||
bootJar {
|
||||
baseName = 'gs-consuming-rest'
|
||||
version = '0.1.0'
|
||||
baseName = 'greenify'
|
||||
version = '1.0.0'
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -48,6 +48,7 @@ repositories {
|
||||
}
|
||||
|
||||
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:spring-web")
|
||||
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: 'eclipse'
|
||||
apply plugin: 'idea'
|
||||
@@ -16,8 +29,8 @@ apply plugin: 'jacoco'
|
||||
apply plugin: 'checkstyle'
|
||||
|
||||
bootJar {
|
||||
baseName = 'gs-rest-service'
|
||||
version = '0.1.0'
|
||||
baseName = 'greenify-server'
|
||||
version = '1.0.0'
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
Reference in New Issue
Block a user