Skip to content

Instantly share code, notes, and snippets.

@bryceosterhaus
Created August 24, 2016 21:34
Show Gist options
  • Select an option

  • Save bryceosterhaus/936d85409bb7606956f18caeadf6b151 to your computer and use it in GitHub Desktop.

Select an option

Save bryceosterhaus/936d85409bb7606956f18caeadf6b151 to your computer and use it in GitHub Desktop.
dependencies {
compile group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
compile group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
compile group: "javax.portlet", name: "portlet-api", version: "2.0"
compile group: "javax.servlet", name: "servlet-api", version: "2.5"
compile group: "jstl", name: "jstl", version: "1.2"
compile group: "org.osgi", name: "org.osgi.compendium", version: "5.0.0"
}
buildscript {
dependencies {
classpath group: "com.liferay", name: "com.liferay.gradle.plugins", version: "latest.release"
}
repositories {
mavenLocal()
maven {
url "https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public"
}
}
}
import com.liferay.gradle.plugins.node.tasks.ExecuteNpmTask
task buildWebpack(type: ExecuteNpmTask)
buildWebpack {
args = ["run", "build"]
}
classes {
dependsOn buildWebpack
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment