Skip to content

Can't build Commons as subproject #144

@mimi89999

Description

@mimi89999

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

0aa2786

Affected Android/Custom ROM version

N/A

Affected device model

N/A

How did you install the app?

Built from source

Steps to reproduce the bug

Apply:

diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 15aca465..36b277f0 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -101,7 +101,7 @@ detekt {
 }
 
 dependencies {
-    implementation(libs.fossify.commons)
+    implementation("org.fossify:commons")
     implementation(libs.androidx.documentfile)
     implementation(libs.androidx.swiperefreshlayout)
     implementation(libs.roottools)
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 45478cbe..04c73261 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -14,3 +14,4 @@ dependencyResolutionManagement {
     }
 }
 include(":app")
+includeBuild("../Commons")

And try to build

Expected behavior

Builds

Actual behavior

* What went wrong:
An exception occurred applying plugin request [id: 'com.android.library', version: '8.7.3']
> Failed to apply plugin 'com.android.internal.version-check'.
   > Minimum supported Gradle version is 8.9. Current version is 8.4. If using the gradle wrapper, try editing the distributionUrl in /home/michel/git/Commons/gradle/wrapper/gradle-wrapper.properties to gradle-8.9-all.zip

Screenshots/Screen recordings

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions