Skip to content

Commit

Permalink
remove bootRun and reinstate springBoot config
Browse files Browse the repository at this point in the history
  • Loading branch information
brucehyslop committed Mar 7, 2023
1 parent ac99a86 commit 02ec529
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ apply plugin:"war"
apply plugin:"org.grails.grails-web"
apply plugin:"org.grails.grails-gsp"
apply plugin:"com.bertramlabs.asset-pipeline"


//apply plugin:"eclipse"
//apply plugin:"idea"
//apply plugin:"org.grails.grails-plugin"
//apply plugin:"asset-pipeline"
//apply plugin:"org.grails.grails-gsp"
apply plugin:"maven-publish"

//sourceCompatibility = 1.8
Expand All @@ -44,10 +37,6 @@ configurations {
}
}

//springBoot {
// mainClassName = 'biocache.hubs.Application'
//}

// Set to true it needed only for development
boolean inplace = false
// Inplace plugins ala-charts-plugin and images-client-plugin are defined in ala-hub configuration
Expand Down Expand Up @@ -115,15 +104,8 @@ dependencies {
implementation 'commons-fileupload:commons-fileupload:1.4'
}

bootRun {
jvmArgs(
'-Dspring.output.ansi.enabled=always',
'-noverify',
'-XX:TieredStopAtLevel=1',
'-Xmx1024m')
sourceResources sourceSets.main
String springProfilesActive = 'spring.profiles.active'
systemProperty springProfilesActive, System.getProperty(springProfilesActive)
springBoot {
mainClass = 'biocache.hubs.Application'
}

tasks.withType(GroovyCompile) {
Expand Down

0 comments on commit 02ec529

Please sign in to comment.