Grzegorz Gigon
2012-03-16 12:49:54 UTC
Hi Guys
I know, a bit of a gap.
But, I'm starting today and already bumped into some issues.
So, this is how I go about the migration.
Downloaded Gradle M9, changed the path so there are new executables on it, and executed gradle clean in my project.
A lot of deprecation messages (around dynamic properties) and then boom on IDEA plugin configuration.
So I went to docs and I see differences.
So I changed to adapt to new ways and I got this:
idea.project {
jdkName = '1.6'
}
The warning I see is:
Dynamic properties have been deprecated (property "jdkName" on the object "project :foo" with value "1.6" created).
That is my first project in my multi-project build.
Then it bombs out on this:
idea.workspace.iws.withXml { provider->
// DO some funcky stuff
}
With this:
Cannot invoke method withXml() on null object.
What is going on? First the warning is a bit odd, and then the null object.
Cheers, Greg
--
Grzegorz Gigon
http://greggigon.com
http://www.linkedin.com/in/greggigon
Twitter: gregorygigon
"You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat."
Albert Einstein, when asked to describe radio
I know, a bit of a gap.
But, I'm starting today and already bumped into some issues.
So, this is how I go about the migration.
Downloaded Gradle M9, changed the path so there are new executables on it, and executed gradle clean in my project.
A lot of deprecation messages (around dynamic properties) and then boom on IDEA plugin configuration.
So I went to docs and I see differences.
So I changed to adapt to new ways and I got this:
idea.project {
jdkName = '1.6'
}
The warning I see is:
Dynamic properties have been deprecated (property "jdkName" on the object "project :foo" with value "1.6" created).
That is my first project in my multi-project build.
Then it bombs out on this:
idea.workspace.iws.withXml { provider->
// DO some funcky stuff
}
With this:
Cannot invoke method withXml() on null object.
What is going on? First the warning is a bit odd, and then the null object.
Cheers, Greg
--
Grzegorz Gigon
http://greggigon.com
http://www.linkedin.com/in/greggigon
Twitter: gregorygigon
"You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat."
Albert Einstein, when asked to describe radio