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
This is a follow on from #2343 (which is great!) produced by @tomasbjerre. I have a remote deployed IDE configuration (that we use for both maven and gradle). Ideally, rather than having a local copy I'd like to use the remote one. However it seems the new option doesn't allow a eclipse-format.xml to be passed as a string i.e.
val spotlessConfig by configurations.creating
dependencies {
spotlessConfig("org.....:ide-config:1.1.0")
}
spotless {
java {
logger.warn("#### Found " + resources.text.fromArchiveEntry(spotlessConfig, "java-formatter.xml").asString())
eclipse().configProperties(resources.text.fromArchiveEntry(spotlessConfig, "java-formatter.xml").asString())
// eclipse().configFile("$rootDir/ide-config/eclipse-format.xml")
}
I realise I can't use asFile on the resources.text.fromArchiveEntry as that then clashes with Gradle and clean erases the file hence trying this alternate route.
The text was updated successfully, but these errors were encountered:
This is a follow on from #2343 (which is great!) produced by @tomasbjerre. I have a remote deployed IDE configuration (that we use for both maven and gradle). Ideally, rather than having a local copy I'd like to use the remote one. However it seems the new option doesn't allow a eclipse-format.xml to be passed as a string i.e.
I realise I can't use
asFile
on theresources.text.fromArchiveEntry
as that then clashes with Gradle and clean erases the file hence trying this alternate route.The text was updated successfully, but these errors were encountered: