Letzte Blogger

David H Nebinger

68 Nachrichten
23. Februar 2018

Jonas Choi

3 Nachrichten
23. Februar 2018

Jamie Sammons

11 Nachrichten
19. Februar 2018

Iacopo Colonnelli

2 Nachrichten
17. Februar 2018

Christian Klein

1 Nachrichten
15. Februar 2018

Jose M. Navarro

8 Nachrichten
14. Februar 2018

Maria Sanchez

18 Nachrichten
13. Februar 2018

Sergio González

5 Nachrichten
13. Februar 2018

Minhchau Dang

15 Nachrichten
31. Januar 2018

Koen Olaerts

3 Nachrichten
30. Januar 2018
« Zurück

Liferay 7 theme development using IDE-2

General Blogs 19. Dezember 2017 Von Sushil Patidar

I wrote blog for theme development with IDE . Further I explored the way to configure gradle project. I would like to share those steps that I have experienced hard to find and many developers I saw asking for the same thing on the forums.

Gradle Configuration


By default, if we create theme using IDE it templates are built using freemarker and parent theme is “_styled”. I was also stuck to this scenario and explored to find a way we can configure these particular options .

As we saw in previous blog, if we create module theme project using Gradle, in the build.gradle it applies theme builder plugin. This plugin add buildTheme gradle task to the project which generate theme files based on the parentTheme and templateExtention property configured in the task.  By default, following are the values for these property.








To change the values of these properties in the case if we want to generate theme files using unstyled theme and velocity template it need to configure the task properties as follows build.gradle file.



Now run buildTheme task,  files will be generated as per above configuration.



One need to include the gradle dependency based on type of parent theme configured like follows.


Noch keine Anmerkungen Fangen Sie an