I\'m trying to execute some .sql
scripts and then deploy web app using gradle tomcat plugin
.
But when I make any attempt to run gradl
I get this error sometimes after Android Studio does some operation that tries to automatically add things to my build.gradle file, and then it messes up lines of code in the dependencies block that end with quotes or double-quotes. So I end up with a line like this:
def gpsVersion = '9.4.0'
compile "com.google.android.gms:play-services-wearable:${gpsVersion}" compile "com.google.android.gms:play-services-places:${gpsVersion}"
And as you can see it looks like the method compile
has many arguments now. Fix the line spacing and resync to fix it.
The build script is mixing up buildscript
dependencies (i.e.
2 needs to go into dependencies { ... }
, not into buildscript { dependencies { ... } }
.
Everything but the classpath
dependencies are regular dependencies.