streama icon indicating copy to clipboard operation
streama copied to clipboard

Error building - Configuration with name 'runtime' not found.

Open jose1711 opened this issue 2 years ago • 0 comments

Issue description

Trying to build streama I am getting an error:

A problem occurred evaluating root project 'streama'.
> Failed to apply plugin class 'org.springframework.boot.gradle.plugin.SpringBootPlugin'.
   > Configuration with name 'runtime' not found.

Steps to Reproduce

  1. checkout current master branch
  2. run gradle build --info
  3. get the error:
 > Configure project :
Evaluating root project 'streama' using build file '/path/to/streama/build.gradle'.
Applying dependency management to configuration 'annotationProcessor' in project 'streama'
Applying dependency management to configuration 'apiElements' in project 'streama'
Applying dependency management to configuration 'archives' in project 'streama'
Applying dependency management to configuration 'compileClasspath' in project 'streama'
Applying dependency management to configuration 'compileOnly' in project 'streama'
Applying dependency management to configuration 'default' in project 'streama'
Applying dependency management to configuration 'implementation' in project 'streama'
Applying dependency management to configuration 'mainSourceElements' in project 'streama'
Applying dependency management to configuration 'profile' in project 'streama'
Applying dependency management to configuration 'runtimeClasspath' in project 'streama'
Applying dependency management to configuration 'runtimeElements' in project 'streama'
Applying dependency management to configuration 'runtimeOnly' in project 'streama'
Applying dependency management to configuration 'testAnnotationProcessor' in project 'streama'
Applying dependency management to configuration 'testCompileClasspath' in project 'streama'
Applying dependency management to configuration 'testCompileOnly' in project 'streama'
Applying dependency management to configuration 'testImplementation' in project 'streama'
Applying dependency management to configuration 'testResultsElementsForTest' in project 'streama'
Applying dependency management to configuration 'testRuntimeClasspath' in project 'streama'
Applying dependency management to configuration 'testRuntimeOnly' in project 'streama'
Configuring agent

FAILURE: Build failed with an exception.

* Where:
Build file '/path/to/streama/build.gradle' line: 23

* What went wrong:
A problem occurred evaluating root project 'streama'.
> Failed to apply plugin class 'org.springframework.boot.gradle.plugin.SpringBootPlugin'.
   > Configuration with name 'runtime' not found.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.

Expected Behaviour

Project should build without error.

Actual Behaviour

Error appears.

Environment Information

  • Operating System: Arch Linux rolling x86_64
  • Streama version: current master

jose1711 avatar May 26 '22 19:05 jose1711