stevesaliman / gradle-properties-plugin

Gradle plugin to simplify loading project properties from external environment specific files
Apache License 2.0
192 stars 28 forks source link

Question about Plugin 1.5.1 on Maven Central #41

Closed vnayfeld closed 1 year ago

vnayfeld commented 3 years ago

Hello, I have a requirement to include all Plugins, my Gradle Project, depends upon, into the local project. In other words, I am required to download and include a Plugin "id "net.saliman.properties" version "1.5.1".

Currently I am using it from Maven Central. https://mvnrepository.com/artifact/net.saliman.properties/net.saliman.properties.gradle.plugin -> -> https://plugins.gradle.org/m2/net/saliman/gradle-properties-plugin/

I thought that I need to include a JAR file (gradle-properties-plugin-1.5.1.jar) into my local repo. What made me confused is that Directory "1,5,1" (https://plugins.gradle.org/m2/net/saliman/gradle-properties-plugin/1.5.1/) is empty.

For comparison, the older versions of Plugin do have JARS in central. e.g. https://plugins.gradle.org/m2/net/saliman/gradle-properties-plugin/1.4.6/

gradle-properties-plugin-1.4.6.jar gradle-properties-plugin-1.4.6-sources.jar etc.

I will greatly appreciate your suggestions/collaborations,

Vampire commented 2 years ago

What you call "Maven Central" is not "Maven Central", it is "Gradle Plugin Portal". This redirects to JCenter for dependencies it does not serve itself which in turn forwards to Maven Central for things it does not serve itself. If you look at Maven Central directly, you will see there is 1.5.1 including all the artifacts: https://search.maven.org/artifact/net.saliman/gradle-properties-plugin

stevesaliman commented 1 year ago

Closing for inactivity.