Title: Could not create task ':mylib:copyDebugJniLibsProjectAndLocalJars · Issue #28 · deepmedia/Grease · GitHub
Open Graph Title: Could not create task ':mylib:copyDebugJniLibsProjectAndLocalJars · Issue #28 · deepmedia/Grease
X Title: Could not create task ':mylib:copyDebugJniLibsProjectAndLocalJars · Issue #28 · deepmedia/Grease
Description: agp = "8.9.1" gradle = 8.11.1 grease = "0.3.4" After trying android fused library (for my sample project works well, with some conditions) I decided to try your plugin and encountered a problem when calling build/assembly Project structu...
Open Graph Description: agp = "8.9.1" gradle = 8.11.1 grease = "0.3.4" After trying android fused library (for my sample project works well, with some conditions) I decided to try your plugin and encountered a problem whe...
X Description: agp = "8.9.1" gradle = 8.11.1 grease = "0.3.4" After trying android fused library (for my sample project works well, with some conditions) I decided to try your plugin and encou...
Opengraph URL: https://github.com/deepmedia/Grease/issues/28
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Could not create task ':mylib:copyDebugJniLibsProjectAndLocalJars","articleBody":"agp = \"8.9.1\"\ngradle = 8.11.1\ngrease = \"0.3.4\"\n\nAfter trying android fused library (for my sample project works well, with some conditions) I decided to try your plugin and encountered a problem when calling build/assembly\n\nProject structure:\n```\n[mylib]\n+ - - - [core]\n| + - - - [utils]\n| + - - - [engine]\n| + - - - [com.squareup.okhttp3:okhttp]\n+ - - - [addons]\n```\n\nmyLib.gradle.kts:\n```\nplugins {\n alias(libs.plugins.android.library)\n alias(libs.plugins.kotlin.android)\n alias(libs.plugins.thirdparty.grease)\n}\n\nandroid {\n namespace = \"com.sample.mylib\"\n compileSdk = 35\n\n defaultConfig {\n minSdk = 24\n\n testInstrumentationRunner = \"androidx.test.runner.AndroidJUnitRunner\"\n consumerProguardFiles(\"consumer-rules.pro\")\n }\n\n buildTypes {\n release {\n isMinifyEnabled = false\n proguardFiles(\n getDefaultProguardFile(\"proguard-android-optimize.txt\"),\n \"proguard-rules.pro\"\n )\n }\n }\n compileOptions {\n sourceCompatibility = JavaVersion.VERSION_11\n targetCompatibility = JavaVersion.VERSION_11\n }\n kotlinOptions {\n jvmTarget = \"11\"\n }\n}\n\ndependencies {\n greaseTree(project(\":core\"))\n greaseTree(project(\":addons\"))\n}\n\n```\n\nThis is a very sample multimodule project (which contains only one sample class with sample function). The main idea is to get \"fat-aar\" which contains only my modules inside\n\nExpected result: assemble/build = generated mylib-1.0.aar which contains all classes inside from [core], [engine], [utils], [addons] modules\nActual result:\n\n```\nCould not determine the dependencies of task ':mylib:bundleDebugAar'.\n\u003e Could not create task ':mylib:copyDebugJniLibsProjectAndLocalJars'.\n \u003e 'org.gradle.api.file.FileCollection com.android.build.gradle.internal.tasks.LibraryJniLibsTask.getLocalJarsNativeLibs()'\n```\n\n","author":{"url":"https://github.com/amorenkov","@type":"Person","name":"amorenkov"},"datePublished":"2025-04-05T04:15:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/28/Grease/issues/28"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:56038f5b-9fad-bf4f-7ab8-bcd12fcf4d15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEDA:39F9CB:10C336C:1719AF8:6967F1B0 |
| html-safe-nonce | 393b7e3d2ea325c43a56d44f7a6d90bbbcd94ae5d3e917c5ac2402ab3c2aa0d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRURBOjM5RjlDQjoxMEMzMzZDOjE3MTlBRjg6Njk2N0YxQjAiLCJ2aXNpdG9yX2lkIjoiMjIwOTYzMzk0ODI1NTM4Mzk4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 955e7b381ea4d3afccaffa06a5785fdb8c09a6309e475e0b8f184ff15b5b3ca9 |
| hovercard-subject-tag | issue:2973843651 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/deepmedia/Grease/28/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ead832f629f7fcb1f924493a3c8711999f9f47235edfda8ae8dd26339a14d92b/deepmedia/Grease/issues/28 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ead832f629f7fcb1f924493a3c8711999f9f47235edfda8ae8dd26339a14d92b/deepmedia/Grease/issues/28 |
| og:image:alt | agp = "8.9.1" gradle = 8.11.1 grease = "0.3.4" After trying android fused library (for my sample project works well, with some conditions) I decided to try your plugin and encountered a problem whe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amorenkov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 399927b384a55004b01f7b4e10de57454d9fb2b593714f31475ed5ac0e160a06 |
| turbo-cache-control | no-preview |
| go-import | github.com/deepmedia/Grease git https://github.com/deepmedia/Grease.git |
| octolytics-dimension-user_id | 66073326 |
| octolytics-dimension-user_login | deepmedia |
| octolytics-dimension-repository_id | 285627279 |
| octolytics-dimension-repository_nwo | deepmedia/Grease |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 285627279 |
| octolytics-dimension-repository_network_root_nwo | deepmedia/Grease |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 11c8bbc525a9fc70fd657b056f1123a539f38fbc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width