You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Failed to apply plugin class 'org.web3j.solidity.gradle.plugin.SolidityPlugin'.
> Could not set unknown property 'outputDir' for Main Solidity Sources of type org.gradle.api.internal.file.DefaultSourceDirectorySet.
The code:
buildscript {
repositories {
maven("https://artifacts.consensys.net/public/maven/maven/")
}
}
plugins {
kotlin("jvm") version "1.9.23"
id("org.web3j") version "4.11.2"
}
Tested Gradle versions: 8.4, 8.7
The text was updated successfully, but these errors were encountered:
An exception occurred applying plugin request [id: 'org.web3j', version: '4.11.3']
> Failed to apply plugin class 'org.web3j.solidity.gradle.plugin.SolidityPlugin'.
> Could not set unknown property 'outputDir' for Main Solidity Sources of type org.gradle.api.internal.file.DefaultSourceDirectorySet.
setOutputDir @deprecated
void setOutputDir(Provider<java.io.File> provider)
Deprecated.
Use getDestinationDirectory().set() instead. This method will be removed in Gradle 8.0.
Sets the provider that gives the directory to assemble the compiled classes into.
Parameters:
provider - provides output directory for this source directory set
Since:
4.0
An exception occurred applying plugin request [id: 'org.web3j', version: '4.11.3']
> Failed to apply plugin class 'org.web3j.solidity.gradle.plugin.SolidityPlugin'.
> Could not set unknown property 'outputDir' for Main Solidity Sources of type org.gradle.api.internal.file.DefaultSourceDirectorySet.
gradle 8.7, java 17
Yes it is due to incompatibility with gradle version >=8.5.
We are working on updating all web3j repos to gradle 8.5
I'm getting
The code:
Tested Gradle versions: 8.4, 8.7
The text was updated successfully, but these errors were encountered: