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: patch-diff.githubusercontent.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:0d7f6950-f81b-aca6-254c-16761c3637e2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9216:21A399:4C7D5B:61DC72:6986C799 |
| html-safe-nonce | 17dcde749265a40c409305664203e656f87e36c1d7dd7768ec16546d656c2dd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjE2OjIxQTM5OTo0QzdENUI6NjFEQzcyOjY5ODZDNzk5IiwidmlzaXRvcl9pZCI6IjM1MDYwODA2NDg2MjY2ODY5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 19c80d887d8512cf3ad6fcb872379157666d7efad4449b2b6e698d757c4561c0 |
| 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 | 38ec31e8cc99e2ff9dfdb8f1c79b44d05e5fce45b7e96adc4250ef0059f0eb28 |
| 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 | 0b29275dfad309dc1c4bd0714af188af8e5c4b53 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width