devsoap / ds-gradle-vaadin

Gradle plugin for building Vaadin Flow 10/11/12/13/14/15 apps
https://devsoap.com/gradle-vaadin-flow-plugin
Other
36 stars 13 forks source link

Remove hard link to https://plugins.gradle.org/m2 for disconnected environments #297

Closed antioh closed 4 years ago

antioh commented 4 years ago

Desktop (please complete the following information):

Hard link to plugins.gradle.org doesn't allow to use proxy repository( Nexus ). Artifacts, resolved through consider use in VaadinFlowPluginAction.groovy gradle override property, something like this: .... repositories.maven { repository -> repository.name = 'Gradle Plugin Portal' repository.url = (System.getProperty('org.gradle.internal.plugins.portal.url.override') )?: 'https://plugins.gradle.org/m2/' } thanks

johndevs commented 4 years ago

Looks like that property is exposed via the BaseRepositoryFactory.PLUGIN_PORTAL_OVERRIDE_URL_PROPERTY .

Good find, I'll add it :+1: