The error that i am facing is the class java.lang.Integer cannot be cast to class java.lang.String
. when running gradle test -Pnum=10
.
This is my code:
def fibo(n){
//something
}
}
task test() {
doLast {
fibo num
}
}