Skip to content

Commit

Permalink
LPS-51081 Gradle Soy plugin - sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Ithildir authored and brianchandotcom committed Sep 2, 2015
1 parent cf5d119 commit a657c3f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
29 changes: 29 additions & 0 deletions modules/sdk/gradle-plugins-soy/samples/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
buildscript {
repositories {
mavenLocal()

maven {
url "http://cdn.repository.liferay.com/nexus/content/groups/public"
}
}

dependencies {
classpath group: "com.liferay", name: "com.liferay.gradle.plugins.soy", version: "latest.release"
}
}

apply plugin: "java"

apply plugin: "com.liferay.soy"

dependencies {
compile group: "com.google.template", name: "soy", version: "2012-12-21"
}

repositories {
mavenLocal()

maven {
url "http://cdn.repository.liferay.com/nexus/content/groups/public"
}
}
1 change: 1 addition & 0 deletions modules/sdk/gradle-plugins-soy/samples/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include "samples"
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{namespace samples}

/**
* Says hello to the world.
*/
{template .helloWorld}
Hello world!
{/template}

0 comments on commit a657c3f

Please sign in to comment.