I got the following error when running gradle command:
An exception occurred applying plugin request [id: 'com.diffplug.swt.nativedeps', version: '3.30.0']
Failed to apply plugin 'com.diffplug.swt.nativedeps'.
Configuration with name 'compile' not found.
Environments:
Gradle 7.1
JVM: 16.0.1
java: openjdk 16.0.1
OS: Mac OS X 11.4 x86_64
build.gradle:
plugins {
id 'com.diffplug.swt.nativedeps' version '3.30.0'
}
repositories {
mavenCentral()
}
apply plugin: 'java'
It was no problem with 'com.diffplug.swt.nativedeps' version '3.27.0' or older and gradle 6.x.
What is the problem?
I got the following error when running gradle command:
Environments:
build.gradle:
It was no problem with 'com.diffplug.swt.nativedeps' version '3.27.0' or older and gradle 6.x. What is the problem?