How to configure Gradle to escape SNAPSHOT artifact


(Enrico Oliosi) #1

I specified a range version like this into build.gradle:

compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "[2.6.0,2.13.0)"

and Gradle downloads portal-kernel-2.13.0-SNAPSHOT.jar, I’d like to escape SNAPSHOT version, is it possible?

Thanks a lot.

Enrico