Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

using library from gradle

Discussion in 'Editor & General Support' started by yuyenkan999, Mar 21, 2019.

  1. yuyenkan999

    yuyenkan999

    Joined:
    Jul 26, 2018
    Posts:
    4
    I had customize and added a dependencies in mainTemplate.gradle


    // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
    buildscript {
    repositories {
    jcenter()
    }

    dependencies {
    classpath 'com.android.tools.build:gradle:2.3.0'
    compile (name: 'com.braintreepayments.api:braintree:2.22.0', ext: 'arr')
    }
    }


    how can I use the library in Unity? I know how to do with Java in Android Studio, but I don know how to do with Unity in Visual Studio.
     
    Last edited: Mar 22, 2019