public-transport-enabler icon indicating copy to clipboard operation
public-transport-enabler copied to clipboard

Gradle error in IntelliJ

Open Altonss opened this issue 2 years ago • 3 comments

Just after cloning the repo in IntelliJ I get this error message. Is this normal?

Gradle sync failed: Plugin [id: 'maven'] was not found in any of the following sources:
	- Gradle Core Plugins (not a core plugin, please see https://docs.gradle.org/7.1/userguide/standard_plugins.html for available core plugins)
	- Plugin Repositories (plugin dependency must include a version number for this source) (555 ms)

Does someone has an idea on how to resolve this issue?

Altonss avatar Oct 14 '21 09:10 Altonss

Please use Gradle 4.4.1 (comes with Debian/Ubuntu).

schildbach avatar Oct 14 '21 13:10 schildbach

That said, we could migrate from the maven-plugin to maven-publish.

schildbach avatar Oct 14 '21 13:10 schildbach

By changing 2 lines it seams to work: https://github.com/Altonss/public-transport-enabler/commit/ece1f67c92feafeb9498e3b52881a11fa08790de

Altonss avatar Oct 14 '21 15:10 Altonss