streamaserver / streama

Self hosted streaming media server. https://docs.streama-project.com/
MIT License
9.68k stars 985 forks source link

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

Open jose1711 opened 2 years ago

jose1711 commented 2 years ago

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.

Expected Behaviour

Project should build without error.

Actual Behaviour

Error appears.

Environment Information