I’m new to gradle so sorry if the question has already been answered but after searching for hours I can’t find the answer.
I’m trying to apply a community plugin from an init.gradle file.
This is my init.gradle:
apply plugin: "net.linguica.maven-settings"
And when running gradle -I init.gradle test I’m getting the following message:
FAILURE: Build failed with an exception.
Initialization script ‘/Users/clem/git/kpi/init.gradle’ line: 13
- What went wrong:
A problem occurred evaluating initialization script.
Plugin with id ‘net.linguica.maven-settings’ not found.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 1.335 secs
This is my gradle -version output:
Build time: 2015-11-17 07:02:17 UTC
Build number: none
Ant: Apache Ant™ version 1.9.3 compiled on December 23 2013
JVM: 1.8.0_66 (Oracle Corporation 25.66-b17)
OS: Mac OS X 10.11.1 x86_64
Any idea how can I make that work ??
Thanks in advance.