'Problem for using Exoplayer Locally and forking

I'm going to use ExoPlayer with my changes, I tried locally and fork.

  1. Locally problem:

It gives me this:

Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.

when I add android.disableAutomaticComponentCreation=true in gradle.properties, it gives me below error:

Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'release' for SoftwareComponentInternal set of type org.gradle.api.internal.component.DefaultSoftwareComponentContainer.
  1. Fork problem:

I add implementation 'com.github.myUserName:myRepoName:2.17.0' in build.gradle(Module), but it doesn't work!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source