buildscript {
ext {
springBootVersion = '2.0.4.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("com.google.cloud.tools:appengine-gradle-plugin:1.3.0") //Added for Google App Engine
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'com.google.cloud.tools.appengine' //Added for Google App Engine
group = 'com.regulaition'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
description = "engine-spring"
jar{
baseName = 'engine'
version = '0.0.1-SNAPSHOT'
}
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
compile ('com.google.cloud.sql:postgres-socket-factory:1.0.10')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.postgresql:postgresql')
//runtime 'org.liquibase:liquibase-core:3.6.1'
compile files('libs/com/regulaition/jess/6.0/jess-6.0.jar')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
appengine {
deploy { // deploy configuration
stopPreviousVersion = true // default - stop the current version
promote = true // default - & make this the current version
}
}
aef-default-20180829t214027-c88v CRON[2869]: (root) CMD (/bin/bash
/usr/share/vm_runtime/vm_check_disk_space.sh | logger -t
vm_check_disk_space.sh)
aef-default-20180829t214027-c88v vm_runtime_init: GAE_FULL_APP_CONTAINER=eu.gcr.io/verdant-sensor-214003/appengine
2018-08-29 18:33:21.788 INFO 1 --- [ main]
s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s):
8080 (http)
runtime: java
env: flex
runtime_config: # Optional
jdk: openjdk8
handlers:
- url: /.*
script: this field is required, but ignored
manual_scaling:
instances: 1
I recommend that you take a look at this thread in Stack Overflow which seems to be a similar case.