diffplug / goomph

IDE as build artifact
Apache License 2.0
130 stars 30 forks source link

Configuration with name 'compile' not found. #151

Closed gucchy55 closed 3 years ago

gucchy55 commented 3 years ago

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:

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?

nedtwigg commented 3 years ago

See changelog entry for 3.28.0. I would recommend migrating from com.diffplug.swt.nativedeps to com.diffplug.eclipse.mavencentral.

gucchy55 commented 3 years ago

"com.diffplug.eclipse.mavencentral" works fine! Thank you for your help.