Skip to content

Commit

Permalink
LPS-199149 liferay-ticket-etc-spring-boot: removes manual env var inj…
Browse files Browse the repository at this point in the history
…ection from build.gradle
  • Loading branch information
drewbrokke authored and brianchandotcom committed Jan 19, 2024
1 parent a8d2ded commit fc24f10
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ apply plugin: "com.liferay.source.formatter"
apply plugin: "java-library"
apply plugin: "org.springframework.boot"

bootRun {
String liferayVirtualInstanceId = project.hasProperty("liferay.virtual.instance.id") ? project.getProperty("liferay.virtual.instance.id") : "default"

environment "LIFERAY_ROUTES_CLIENT_EXTENSION", "${gradle.liferayWorkspace.homeDir}/routes/${liferayVirtualInstanceId}/${project.name}"
environment "LIFERAY_ROUTES_DXP", "${gradle.liferayWorkspace.homeDir}/routes/${liferayVirtualInstanceId}/dxp"
}

dependencies {
implementation group: "com.liferay", name: "com.liferay.client.extension.util.spring.boot", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.portal.search.rest.client", version: "latest.release"
Expand Down

0 comments on commit fc24f10

Please sign in to comment.