Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0 #241

Open
wants to merge 96 commits into
base: 7.3
Choose a base branch
from
Open

7.0 #241

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
d8a5823
fix tests for 7.0
lawrence-lee Jul 17, 2018
8a3f5e9
fix portlet test
lawrence-lee Jul 18, 2018
9e04195
fix source formatting issues
lawrence-lee Jul 18, 2018
6df0386
Fix language key syntax
codyhoag Jul 24, 2018
1560069
Merge pull request #501 from gamerson/pr-499-70
gamerson Jul 24, 2018
815441a
LRDOCS-5640 LDN explains the confusing topic of the isomorphic sample…
codyhoag Aug 28, 2018
9c2bd5f
Update npm samples' supported portal versions (based on npm bundler u…
codyhoag Aug 28, 2018
b8d0ce0
Merge branch 'pr-532' into 7.0
gamerson Aug 30, 2018
e231669
BLADE-316 setup rest configuration out of the box
gamerson Oct 3, 2018
9c0f671
BLADE-318 Add Test
lawrence-lee Oct 3, 2018
deeb784
BLADE-318 Replicate Sources
lawrence-lee Oct 3, 2018
590a970
cleanup
lawrence-lee Oct 3, 2018
896dfd9
BLADE-318 Fix SF
lawrence-lee Oct 4, 2018
0579f12
apply buildscans
lawrence-lee Oct 4, 2018
1872a72
BLADE-318 Fix test
lawrence-lee Oct 4, 2018
5060428
BLADE-318 Add Hello World to a page to prevent race condidtion with r…
lawrence-lee Oct 4, 2018
e640542
BLADE-318 Forgot bnd files
lawrence-lee Oct 4, 2018
00492e1
BLADE-318 SF
lawrence-lee Oct 4, 2018
994b3df
Merge branch 'pr-546' into 7.0
gamerson Oct 5, 2018
e78634d
BLADE-324 Turn npm tests back on
lawrence-lee Oct 5, 2018
1103851
BLADE-324 No longer needed
lawrence-lee Oct 5, 2018
591a7bb
BLADE-324 Remove isomorphic sample
lawrence-lee Oct 12, 2018
e899c02
BLADE-324 Update to liferay-npm-bundler-2.0
lawrence-lee Oct 12, 2018
1f3b7a9
BLADE-324 Fix Test
lawrence-lee Oct 12, 2018
62d20ca
Auto SF
lawrence-lee Oct 12, 2018
d3308f9
Merge branch 'pr-556' into 7.0
gamerson Oct 16, 2018
3289ec5
LPS-89506 Fix typo in scheduler-entry sample
lawrence-lee Jan 28, 2019
22feac7
auto sf
lawrence-lee Jan 28, 2019
8d57028
Merge branch 'pr-570' into 7.0
gamerson Jan 28, 2019
98cf3b3
BLADE-393 Converted all instances of LogService to LogFactoryUtil
ajsampang67 Feb 8, 2019
c74f8fe
BLADE-393 Fix repeated modifier
lawrence-lee Feb 12, 2019
d22a661
BLADE-393 Fix improper object type
lawrence-lee Feb 12, 2019
5d72a77
BLADE-393 Source formatting
lawrence-lee Feb 12, 2019
0dca41d
Fix jaxrs dependencies
lawrence-lee Feb 12, 2019
87a91bf
remove unused imports
lawrence-lee Feb 13, 2019
06b4e8c
Remove NPM tests
lawrence-lee Feb 13, 2019
2fbbbb5
Simplify clicks in tests
lawrence-lee Feb 13, 2019
3dfc216
temporarily ignore failures
lawrence-lee Feb 13, 2019
cadd0ea
use latest blade jar
lawrence-lee Feb 13, 2019
6d1d709
Ignore inconsistent failures
lawrence-lee Feb 13, 2019
07f15e8
Increase wait time for autodeployer
lawrence-lee Feb 13, 2019
ad8e964
Make the same changes for service builder test suite
lawrence-lee Feb 14, 2019
c30cecb
Merge branch 'pr-575' into 7.0
gamerson Feb 14, 2019
2f495a0
Simplify click method and use built in method from WebElement interface
lawrence-lee Feb 21, 2019
ec56bbc
Merge branch 'pr-577' into 7.0
gamerson Feb 22, 2019
c0eef99
Add note for minifier failures with JSDoc
lawrence-lee Mar 21, 2019
1b004eb
format source
lawrence-lee Mar 21, 2019
e8d0f6a
Merge branch 'pr-584' into 7.0
gamerson Mar 21, 2019
fad4b09
BLADE-445 Fix Simulation Panel App
lawrence-lee Jul 9, 2019
15770b9
SF
lawrence-lee Jun 19, 2019
dcdfb21
SF
lawrence-lee Jul 10, 2019
370719e
formatSource
gamerson Jul 16, 2019
aaefe6a
replicateSources
gamerson Jul 16, 2019
4421735
fix dependencies
gamerson Jul 16, 2019
65e5c19
fS
gamerson Jul 16, 2019
1790655
fix merge conflict
gamerson Jul 16, 2019
d813701
SF fixes
gamerson Jul 16, 2019
a50fb09
SF
gamerson Jul 16, 2019
5746f72
Merge branch 'pr-606' into 7.0
gamerson Jul 16, 2019
558a150
BLADE-466 Add dependencies for jsp precompile
lawrence-lee Aug 13, 2019
5bb6f34
SF
lawrence-lee Aug 13, 2019
302f265
BLADE-466 Exclude jsp's in fragment projects from precompile
lawrence-lee Aug 22, 2019
b89c842
BLADE-466 Use old arquillian bridge in 7.0
lawrence-lee Sep 3, 2019
74c08df
BLADE-466 must exclude test integration plugin from gradle plugins an…
lawrence-lee Sep 3, 2019
c66d8c7
BLADE-466 Remove functional tests from 7.0
lawrence-lee Sep 3, 2019
69f2c17
Merge branch 'pr-610' into 7.0
gamerson Sep 3, 2019
d8fff60
replicate sources
lawrence-lee Sep 30, 2019
88ff1e0
SF
lawrence-lee Sep 30, 2019
927a16c
BLADE-484 Rename package
lawrence-lee Oct 31, 2019
f3936ac
BLADE-484 Regen
lawrence-lee Oct 31, 2019
4f995a3
BLADE-484 Update package name
lawrence-lee Nov 8, 2019
4fc5d5e
BLADE-484 Regen
lawrence-lee Nov 8, 2019
8939320
BLADE-484 Use Apache 2.0 over LGPL
lawrence-lee Nov 8, 2019
ee47a7b
BLADE-484 Fix package name
lawrence-lee Nov 8, 2019
aad5494
BLADE-484 SF
lawrence-lee Nov 8, 2019
7e0070f
BLADE-484 No longer needed
lawrence-lee Nov 9, 2019
c706257
BLADE-484 Match package name
lawrence-lee Nov 9, 2019
520a3ac
Merge branch 'pr-71' into 7.0
lawrence-lee Nov 11, 2019
4284dc8
BLADE-491 com.liferay.portal.tools.service.builder is in com.liferay.…
lawrence-lee Dec 4, 2019
9555c0a
BLADE-491 update gradle wrapper to gradle 5.6.4
lawrence-lee Dec 4, 2019
3e65f71
BLADE-491 use latest build scan plugin
lawrence-lee Dec 4, 2019
7bba26f
BLADE-491 configure existing wrapper task instead of adding new one
lawrence-lee Dec 4, 2019
b04417e
BLADE-491 classesDir now changed to classesDirs
lawrence-lee Dec 4, 2019
3fcc4a7
BLADE-491 kotlin plugin included in gradle 5
lawrence-lee Dec 4, 2019
9c90ebe
BLADE-491 SF
lawrence-lee Dec 4, 2019
6300d44
BLADE-491 SF
lawrence-lee Dec 5, 2019
b3e8ebf
Merge pr-75
lawrence-lee Dec 5, 2019
e678ce9
BLADE-492 Add "com.liferay.petra.io" dependency to avoid compilation …
jorgediaz-lr Dec 30, 2019
33b08d1
BLADE-492 Update "com.liferay.portal.kernel" dependency to avoid comp…
jorgediaz-lr Dec 30, 2019
4bf36c0
BLADE-492 SF
lawrence-lee Jan 2, 2020
8a0b61f
Merge pr-77
lawrence-lee Jan 2, 2020
3cf31d9
BLADE-492 replicate sources
lawrence-lee Jan 3, 2020
cf4fc43
Merge pr-87
lawrence-lee Jan 3, 2020
f2459e3
Fix color typo
lawrence-lee Jan 24, 2020
727c988
Merge pr224-7.0
lawrence-lee Jan 24, 2020
2b92c17
SF
lawrence-lee May 12, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified gradle/.gradle-wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions gradle/.gradle-wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Wed Aug 16 09:11:39 CDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip
1 change: 1 addition & 0 deletions gradle/apps/action-command-portlet/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dependencies {
compileOnly group: "com.liferay", name: "com.liferay.petra.lang", version: "3.0.0"
compileOnly group: "com.liferay", name: "com.liferay.petra.string", version: "1.1.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
package com.liferay.blade.samples.portlet.actioncommand;

import com.liferay.petra.string.StringPool;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.portlet.bridges.mvc.MVCActionCommand;
import com.liferay.portal.kernel.servlet.SessionMessages;
import com.liferay.portal.kernel.util.ParamUtil;
Expand All @@ -26,8 +28,6 @@
import javax.portlet.PortletException;

import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.log.LogService;

/**
* @author Liferay
Expand Down Expand Up @@ -55,7 +55,9 @@ public boolean processAction(
private void _handleActionCommand(ActionRequest actionRequest) {
String name = ParamUtil.get(actionRequest, "name", StringPool.BLANK);

_log.log(LogService.LOG_INFO, "Hello " + name);
if (_log.isInfoEnabled()) {
_log.info("Hello " + name);
}

String greetingMessage = "Hello " + name + "! Welcome to OSGi";

Expand All @@ -64,7 +66,7 @@ private void _handleActionCommand(ActionRequest actionRequest) {
SessionMessages.add(actionRequest, "greetingMessage", greetingMessage);
}

@Reference
private LogService _log;
private static final Log _log = LogFactoryUtil.getLog(
GreeterActionCommand.class);

}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<category name="osgi.logging.com_liferay_blade_action_command_portlet">
<category name="com.liferay.blade.samples.portlet.actioncommand">
<priority value="INFO" />
</category>
</log4j:configuration>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0"?>

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<service id="com.liferay.blade.samples.portlet.blueprint.BlueprintPortlet.service" interface="javax.portlet.Portlet" ref="com.liferay.blade.samples.portlet.blueprint.BlueprintPortlet">
Expand Down
2 changes: 2 additions & 0 deletions gradle/apps/configuration-action/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
dependencies {
compileOnly group: "biz.aQute.bnd", name: "biz.aQute.bndlib", version: "3.5.0"
compileOnly group: "com.liferay", name: "com.liferay.petra.lang", version: "3.0.0"
compileOnly group: "com.liferay", name: "com.liferay.portal.configuration.metatype", version: "2.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
compileOnly group: "javax.portlet", name: "portlet-api", version: "2.0"
compileOnly group: "javax.servlet", name: "javax.servlet-api", version: "3.0.1"
compileOnly group: "org.osgi", name: "org.osgi.service.component.annotations", version: "1.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

import com.liferay.blade.samples.configurationaction.constants.BladeMessagePortletKeys;
import com.liferay.portal.configuration.metatype.bnd.util.ConfigurableUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet;

import java.io.IOException;
Expand All @@ -32,8 +34,6 @@
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Modified;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.log.LogService;

/**
* @author Liferay
Expand Down Expand Up @@ -61,7 +61,9 @@ public void doView(
RenderRequest renderRequest, RenderResponse renderResponse)
throws IOException, PortletException {

_log.log(LogService.LOG_INFO, "Blade Message Portlet render");
if (_log.isInfoEnabled()) {
_log.info("Blade Message Portlet render");
}

renderRequest.setAttribute(
MessageDisplayConfiguration.class.getName(),
Expand All @@ -77,8 +79,8 @@ protected void activate(Map<Object, Object> properties) {
MessageDisplayConfiguration.class, properties);
}

@Reference
private LogService _log;
private static final Log _log = LogFactoryUtil.getLog(
BladeMessagePortlet.class);

private volatile MessageDisplayConfiguration _messageDisplayConfiguration;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

import com.liferay.blade.samples.configurationaction.constants.BladeMessagePortletKeys;
import com.liferay.portal.configuration.metatype.bnd.util.ConfigurableUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.portlet.ConfigurationAction;
import com.liferay.portal.kernel.portlet.DefaultConfigurationAction;
import com.liferay.portal.kernel.util.ParamUtil;
Expand All @@ -35,8 +37,6 @@
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.ConfigurationPolicy;
import org.osgi.service.component.annotations.Modified;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.log.LogService;

/**
* @author Liferay
Expand All @@ -56,8 +56,9 @@ public void include(
HttpServletResponse httpServletResponse)
throws Exception {

_log.log(
LogService.LOG_INFO, "Blade Message Portlet configuration include");
if (_log.isInfoEnabled()) {
_log.info("Blade Message Portlet configuration include");
}

httpServletRequest.setAttribute(
MessageDisplayConfiguration.class.getName(),
Expand All @@ -72,22 +73,23 @@ public void processAction(
ActionResponse actionResponse)
throws Exception {

_log.log(
LogService.LOG_INFO, "Blade Message Portlet configuration action");
if (_log.isInfoEnabled()) {
_log.info("Blade Message Portlet configuration action");
}

String fontColor = ParamUtil.getString(actionRequest, "fontColor");
String fontFamily = ParamUtil.getString(actionRequest, "fontFamily");
String fontSize = ParamUtil.getString(actionRequest, "fontSize");

_log.log(
LogService.LOG_INFO,
"Message Display Configuration: Font Family: " + fontFamily);
_log.log(
LogService.LOG_INFO,
"Message Display Configuration: Font Size: " + fontSize);
_log.log(
LogService.LOG_INFO,
"Message Display Configuration: Font Color: " + fontColor);
if (_log.isInfoEnabled()) {
_log.info(
"Message Display Configuration: Font Family: " + fontFamily);

_log.info("Message Display Configuration: Font Size: " + fontSize);

_log.info(
"Message Display Configuration: Font Color: " + fontColor);
}

setPreference(actionRequest, "fontColor", fontColor);
setPreference(actionRequest, "fontFamily", fontFamily);
Expand All @@ -103,8 +105,8 @@ protected void activate(Map<Object, Object> properties) {
MessageDisplayConfiguration.class, properties);
}

@Reference
private LogService _log;
private static final Log _log = LogFactoryUtil.getLog(
MessageDisplayConfigurationAction.class);

private volatile MessageDisplayConfiguration _messageDisplayConfiguration;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<category name="osgi.logging.com_liferay_blade_configuration_action">
<category name="com.liferay.blade.samples.configurationaction">
<priority value="INFO" />
</category>
</log4j:configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
name="fontColor"
value="<%= fontColor %>"
>
<aui:option value="voilet">Voilet</aui:option>
<aui:option value="violet">Violet</aui:option>
<aui:option value="indigo">Indigo</aui:option>
<aui:option value="blue">Blue</aui:option>
<aui:option value="green">Green</aui:option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
*/
--%>

<%@ page import="com.liferay.portal.kernel.util.StringPool" %><%@
page import="com.liferay.portal.kernel.util.Validator" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
Expand All @@ -28,8 +25,9 @@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %><%@
taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %><%@
taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>

<%@page
import="com.liferay.blade.samples.configurationaction.MessageDisplayConfiguration" %>
<%@ page import="com.liferay.blade.samples.configurationaction.MessageDisplayConfiguration" %><%@
page import="com.liferay.portal.kernel.util.StringPool" %><%@
page import="com.liferay.portal.kernel.util.Validator" %>

<liferay-theme:defineObjects />

Expand All @@ -45,13 +43,10 @@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
String fontSize = StringPool.BLANK;

if (Validator.isNotNull(messageDisplayConfiguration)) {
fontFamily =
portletPreferences.getValue("fontFamily", messageDisplayConfiguration.fontFamily());
fontFamily = portletPreferences.getValue("fontFamily", messageDisplayConfiguration.fontFamily());

fontColor =
portletPreferences.getValue("fontColor", messageDisplayConfiguration.fontColor());
fontColor = portletPreferences.getValue("fontColor", messageDisplayConfiguration.fontColor());

fontSize =
portletPreferences.getValue("fontSize", String.valueOf(messageDisplayConfiguration.fontSize()));
fontSize = portletPreferences.getValue("fontSize", String.valueOf(messageDisplayConfiguration.fontSize()));
}
%>
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<%@ include file="/init.jsp" %>

<%
boolean doConfigure =
Validator.isNull(fontFamily) && Validator.isNull(fontColor) && (Validator.isNull(fontSize) || "0".equals(fontSize));
boolean doConfigure = Validator.isNull(fontFamily) && Validator.isNull(fontColor) && (Validator.isNull(fontSize) || fontSize.equals("0"));
%>

<c:choose>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
_someService.target="(component.name\=com.liferay.blade.reluctant.vs.greedy.service.HigherRankedService)"
_someService.target="(component.name\=com.liferay.blade.reluctant.vs.greedy.service.HigherRankedService)"
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void doView(
super.doView(renderRequest, renderResponse);
}

@Reference (policyOption = ReferencePolicyOption.GREEDY)
@Reference(policyOption = ReferencePolicyOption.GREEDY)
private SomeService _someService;

}
1 change: 1 addition & 0 deletions gradle/apps/jsp-portlet/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dependencies {
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
compileOnly group: "javax.portlet", name: "portlet-api", version: "2.0"
compileOnly group: "org.osgi", name: "org.osgi.service.component.annotations", version: "1.3.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

package com.liferay.blade.samples.portlet;

import com.liferay.blade.samples.servicebuilder.model.Foo;
import com.liferay.blade.samples.servicebuilder.service.FooLocalService;
import com.liferay.blade.samples.servicebuilder.service.FooLocalServiceUtil;
import com.liferay.blade.basic.model.Foo;
import com.liferay.blade.basic.service.FooLocalService;
import com.liferay.blade.basic.service.FooLocalServiceUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
Expand Down Expand Up @@ -109,7 +109,7 @@ public void updateFoo(
foo.setField5(field5);
foo.isNew();

getFooLocalService().addFooWithoutId(foo);
getFooLocalService().addFoo(foo);
}
else {
if (_log.isInfoEnabled()) {
Expand Down
6 changes: 3 additions & 3 deletions gradle/apps/jsp-war-portlet/src/main/webapp/view.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ page import="com.liferay.portal.kernel.log.LogFactoryUtil" %>
<strong><liferay-ui:message key="welcome-to-the-blade-liferay-mvc-service-builder-web" /></strong>

<%
int count = fooLocalService.getFoosCount();
int count = fooLocalService.getFoosCount();

Log log = LogFactoryUtil.getLog("com.liferay.blade.samples.portlet.jsp.view");
Log log = LogFactoryUtil.getLog("com.liferay.blade.samples.portlet.jsp.view");

log.info("Have " + count + " records.");
log.info("Have " + count + " records.");
%>

<aui:button-row>
Expand Down
12 changes: 1 addition & 11 deletions gradle/apps/kotlin-portlet/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
buildscript {
dependencies {
classpath group: "org.jetbrains.kotlin", name: "kotlin-gradle-plugin", version: "1.1.2"
}
repositories {
jcenter()
}
}

apply plugin: 'kotlin'

dependencies {
compileOnly group: "com.liferay", name: "com.liferay.petra.lang", version: "3.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
compileOnly group: "javax.portlet", name: "portlet-api", version: "2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
*/
--%>

<%@ page import="com.liferay.blade.samples.portlet.kotlin.constants.KotlinGreeterPortletKeys" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
Expand All @@ -27,6 +25,8 @@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %><%@
taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %><%@
taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>

<%@ page import="com.liferay.blade.samples.portlet.kotlin.constants.KotlinGreeterPortletKeys" %>

<liferay-theme:defineObjects />

<portlet:defineObjects />
4 changes: 2 additions & 2 deletions gradle/apps/npm/angular-npm-portlet/README.markdown
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Angular npm Portlet

**Important:** This sample works for Liferay DXP Fix Pack 30+ and Liferay Portal
CE GA5+.
**Important:** This sample works for Liferay DXP Fix Pack 44+ and Liferay Portal
CE GA7+. The minifier fails on Liferay DXP 7.0 when JSDoc is present in a portlet. To resolve this, use Grunt uglify to remove the JSDoc comments. This process may take a long time, depending on the number of files that require an update.

The Angular npm Portlet sample provides a portlet that uses the
[Angular](https://angular.io/) framework to render its output.
Expand Down
Loading