Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095285

[Android] dalvik.gradle using old syntax for addNative

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 8u20
    • javafx

      The 3-args addNative function has been removed from build.gradle, but dalvik.gradle was still using it. The following simple patch fixes this:
      diff -r 9425ba418764 buildSrc/dalvik.gradle
      --- a/buildSrc/dalvik.gradle Sun May 25 16:59:23 2014 +0300
      +++ b/buildSrc/dalvik.gradle Mon May 26 20:31:16 2014 +0200
      @@ -270,7 +270,7 @@
               }
       
       
      - addNative(project, "activity", ["dalvik"])
      + addNative(project, "activity")
               if (compileNativeText) {
                   addNative(project, "fontNativeFreetype", ["dalvik"])
               }

            ddhill David Hill (Inactive)
            jvos Johan Vos
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: