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 my build.gradle. I'm building the project with Java 11, but I always get the following error:
An exception occurred applying plugin request [id: 'com.mkobit.jenkins.pipelines.shared-library', version: '0.7.0']
Failed to apply plugin [id 'com.mkobit.jenkins.pipelines.shared-library']
Could not create task ':generateLocalLibraryRetriever'.
> Could not initialize class com.mkobit.jenkins.pipelines.CodegenTypesKt
I tried adding the following dependency, but with no success: dependencies { implementation 'javax.annotation:javax.annotation-api:1.3.2' }
The text was updated successfully, but these errors were encountered:
`// based on https://github.com/nextlayer-ops/jenkins-pipeline-shared-library-example
plugins {
id("com.mkobit.jenkins.pipelines.shared-library") version "0.7.0"
id("codenarc")
id 'com.dorongold.task-tree' version '1.3'
}
apply plugin: 'groovy'
repositories {
maven { url 'http://repo.jenkins-ci.org/releases/' }
mavenCentral()
jcenter()
}
task wrapper(type: Wrapper) {
gradleVersion = '4.10'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}`
This is my build.gradle. I'm building the project with Java 11, but I always get the following error:
I tried adding the following dependency, but with no success:
dependencies { implementation 'javax.annotation:javax.annotation-api:1.3.2' }
The text was updated successfully, but these errors were encountered: