Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to work with latest RubyMotion/Gradle versions #32

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Mar 18, 2022

  1. Configuration menu
    Copy the full SHA
    1c7775e View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Update gradle plugin to the last Java 1.8 supported version

    Gradle plugin 4.2.0 is the last version that supports Java 1.8. For
    newer versions RubyMotion would need to support Java 11.
    p8 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    1660f77 View commit details
    Browse the repository at this point in the history
  2. Remove deprecated jcenter repository

    The jcenter repository is deprecated:
    
       https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
    
    Users are advised to migrate to other repositories.
    
    Also add the default google repository.
    p8 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    a983aec View commit details
    Browse the repository at this point in the history
  3. Update android API version to 30

    The latest version of RubyMotion (8.1) uses Android version 30.
    API version 30 is also the minimum version required by the Google Play
    Store.
    p8 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    3929298 View commit details
    Browse the repository at this point in the history
  4. Update config for Gradle version 7

    The `--build-file` option has been replaced by `--project-root`.
    
    The `duplicatesStrategy` has to be explicitly set:
    https://docs.gradle.org/current/userguide/upgrading_version_5.html#implicit_duplicate_strategy_for_copy_or_archive_tasks_has_been_deprecated
    
    `compile` has been deprecated and should be replaced with `implementation`.
    p8 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    819a524 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83ad3e1 View commit details
    Browse the repository at this point in the history
  6. Replace GRADLE_ROOT instead of redefining it

    Redefining GRADLE_ROOT will output a warning:
    
        spec/gradle_spec.rb:14: warning: already initialized constant Motion::Project::Gradle::GRADLE_ROOT
    p8 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    1b3f61d View commit details
    Browse the repository at this point in the history
  7. Disable aidl specs for now

    Defining a aidl doesn't seem to work with current versions of gradle.
    p8 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    5287d60 View commit details
    Browse the repository at this point in the history