Hi, I am wanting to move from Groovy 3 to 4. I am using Intellij, Gradle and openjdk 11 I created a new gradle project for Java and Groovy. I modified the automatically generated build file to get groovy-all for version 4.0.0 as follows
plugins { id 'groovy' id 'java' } group 'org.example' version '1.0-SNAPSHOT' repositories { mavenCentral() } dependencies { implementation 'org.apache.groovy:groovy-all:4.0.0' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2' } test { useJUnitPlatform() } but it failed with * Could not resolve org.apache.groovy:groovy-all:4.0.0 for Groovy4Test:main (Groovy4Test is the project name) * If I replace 'groovy-all' with 'groovy' it works! I know I have been lazy in not working out the modules I require but I was just wanting to make the transition as easy as possible. What have I done wrong? Jon Jon Kerridge PhD FBCS FHEA CITP CEng Emeritus Professor of Computing School of Computing Edinburgh Napier University Merchiston Campus 10 Colinton Road Edinburgh EH10 5DT Email: j.kerri...@napier.ac.uk<mailto:j.kerri...@napier.ac.uk> This message and its attachment(s) are intended for the addressee(s) only and should not be read, copied, disclosed, forwarded or relied upon by any person other than the intended addressee(s) without the permission of the sender. If you are not the intended addressee you must not take any action based on this message and its attachment(s) nor must you copy or show them to anyone. Please respond to the sender and ensure that this message and its attachment(s) are deleted. It is your responsibility to ensure that this message and its attachment(s) are scanned for viruses or other defects. Edinburgh Napier University does not accept liability for any loss or damage which may result from this message or its attachment(s), or for errors or omissions arising after it was sent. Email is not a secure medium. Emails entering Edinburgh Napier University's system are subject to routine monitoring and filtering by Edinburgh Napier University. Edinburgh Napier University is a registered Scottish charity. Registration number SC018373 BSL users can contact us via contactSCOTLAND-BSL, the on-line British Sign Language interpreting service. Find out more on the contactSCOTLAND website.