shared jenkins library build.gradle error
I finally found a way to solve this, I am just putting this here in case anyone encounters the same issue:
compile 'com.cloudbees:groovy-cps:1.24'compile 'org.eclipse.hudson:hudson-core:3.2.1'compileOnly 'javax.servlet:servlet-api:2.5'