Skip to content

Update to a recent version of Gradle and to SDK 27 #21147

Closed

Description

@paulrouget

I'm working on #21127 but it's getting frustrating to keep the compatibility with gradle 2 when most of the documentation found online is about the version 3 and the latest Android Studio keeps bugging with the version 2.

I have experimented a bit, and I only found an issue with the way we name and move the apk (the renaming won't work with Gradle 3). But beside, it looks possible.

@MortimerGoro do you have any concerns about migrating?

Activity

  1. added
    P-android
    A-build
    on Jul 9, 2018
  2. paulrouget commented on Jul 10, 2018

    @paulrouget
    ContributorAuthor

    Note to self:

    • we should use Java 1.8 and not use Jack
    • we should use a copy task and not rename the target
    • we should move back to lambdas
  3. MortimerGoro commented on Jul 10, 2018

    @MortimerGoro
    Contributor

    I agree, we should upgrade to gradle 3 and remove Jack. Also update to latest target SDK 27

  4. paulrouget commented on Jul 10, 2018

    @paulrouget
    ContributorAuthor

    Also update to latest target SDK 27

    What would it take to get that to work?

    I've naively changed the version in the gradle files and it compiles.

    Haven't tried to compile with VR enabled.

  5. MortimerGoro commented on Jul 10, 2018

    @MortimerGoro
    Contributor

    What would it take to get that to work?

    I don't expect any problem related to running Servo, just update compileSdkVersion/targetSdkVersion to 27 in the gradle build file, install the latest system SDKS and build tools and it should work.

    But IIRC something changed with a version of SDK build tools that may affect Servo cloud compilation scripts

  6. changed the title [-]Update to a recent version of Gradle[/-] [+]Update to a recent version of Gradle and to SDK 27[/+] on Jul 11, 2018
  7. added 8 commits that reference this issue on Jul 27, 2018
    c3e7976
    a3284da
    4ccae58
    98b3cac
    d404d69
    25caf1e
    15aab83
    95b54ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-buildP-android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions