levibostian / levibostian/dotenv-android

Gradle 8 support

Open
#30 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
19
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hi @levibostian , I was curious if added mac support was on the roadmap for this library.

It looks like the Gradle plugin does not support your computer. Please, file an issue: https://github.com/levibostian/dotenv-android/issues/new with the full stacktrace. OS name: mac os x, Arch: aarch64

Task :app:generateDebugDotenv FAILED
=== dotenv-android plugin running ===
dotenv-android info:
dotenv CLI compatible version: >= 1.1.0 && < 2
downloading CLI dependency...

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
9 actionable tasks: 9 executed
/Library/Ruby/Gems/2.6.0/gems/dotenv-2.7.6/lib/dotenv/cli.rb:25:in exec': No such file or directory - version (Errno::ENOENT) from /Library/Ruby/Gems/2.6.0/gems/dotenv-2.7.6/lib/dotenv/cli.rb:25:in run'
from /Library/Ruby/Gems/2.6.0/gems/dotenv-2.7.6/bin/dotenv:4:in <top (required)>' from /usr/local/bin/dotenv:23:in load'
from /usr/local/bin/dotenv:23:in <main>' /Library/Ruby/Gems/2.6.0/gems/dotenv-2.7.6/lib/dotenv/cli.rb:25:in exec': No such file or directory - version (Errno::ENOENT)
from /Library/Ruby/Gems/2.6.0/gems/dotenv-2.7.6/lib/dotenv/cli.rb:25:in run' from /Library/Ruby/Gems/2.6.0/gems/dotenv-2.7.6/bin/dotenv:4:in <top (required)>'
from /usr/local/bin/dotenv:23:in load' from /usr/local/bin/dotenv:23:in

'

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:generateDebugDotenv'.

It looks like the Gradle plugin does not support your computer. Please, file an issue: https://github.com/levibostian/dotenv-android/issues/new with the full stacktrace. OS name: mac os x, Arch: aarch64

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the :app:generateDebugDotenv failure on macOS aarch64 with Gradle 8, using the stack trace and the dotenv CLI invocation as entry points. Done means the Gradle 8 build completes without the unsupported-computer or missing-version errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.