Created
July 15, 2020 12:36
-
-
Save oivoodoo/beeb63a00d9222cc4ea0f0ceb9384fa7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN | |
// Android Resolver Repos Start | |
([rootProject] + (rootProject.subprojects as List)).each { | |
ext { | |
it.setProperty("android.useAndroidX", true) | |
it.setProperty("android.enableJetifier", true) | |
} | |
} | |
([rootProject] + (rootProject.subprojects as List)).each { project -> | |
project.repositories { | |
def unityProjectPath = $/file:///**DIR_UNITYPROJECT**/$.replace("\\", "/") | |
maven { | |
url "https://maven.google.com" | |
} | |
maven { | |
url (unityProjectPath + "/Assets/GeneratedLocalRepo/Firebase/m2repository") // Assets/Firebase/Editor/AnalyticsDependencies.xml:18, Assets/Firebase/Editor/AppDependencies.xml:20, Assets/Firebase/Editor/InstanceIdDependencies.xml:20, Assets/Firebase/Editor/MessagingDependencies.xml:20 | |
} | |
maven { | |
url "https://maven.google.com/" // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7 | |
} | |
maven { | |
url (unityProjectPath + "/Assets/GeneratedLocalRepo/GooglePlayGames/Editor/m2repository") // Assets/GooglePlayGames/Editor/GooglePlayGamesPluginDependencies.xml:11 | |
} | |
mavenLocal() | |
jcenter() | |
mavenCentral() | |
} | |
} | |
// Android Resolver Repos End | |
apply plugin: 'com.android.library' | |
**APPLY_PLUGINS** | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
// Android Resolver Dependencies Start | |
implementation 'com.facebook.android:facebook-applinks:[7.0.1, 8)' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:6 | |
implementation 'com.facebook.android:facebook-core:[7.0.1, 8)' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:5 | |
implementation 'com.facebook.android:facebook-gamingservices:[7.0.1, 8)' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:9 | |
implementation 'com.facebook.android:facebook-login:[7.0.1, 8)' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:7 | |
implementation 'com.facebook.android:facebook-share:[7.0.1, 8)' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:8 | |
implementation 'com.google.android.gms:play-services-ads:19.2.0' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7 | |
implementation 'com.google.firebase:firebase-analytics:17.4.1' // Assets/Firebase/Editor/MessagingDependencies.xml:15 | |
implementation 'com.google.firebase:firebase-analytics-unity:6.15.0' // Assets/Firebase/Editor/AnalyticsDependencies.xml:18 | |
implementation 'com.google.firebase:firebase-app-unity:6.15.0' // Assets/Firebase/Editor/AppDependencies.xml:20 | |
implementation 'com.google.firebase:firebase-common:19.3.0' // Assets/Firebase/Editor/AppDependencies.xml:13 | |
implementation 'com.google.firebase:firebase-iid:20.1.7' // Assets/Firebase/Editor/InstanceIdDependencies.xml:13 | |
implementation 'com.google.firebase:firebase-instance-id-unity:6.15.0' // Assets/Firebase/Editor/InstanceIdDependencies.xml:20 | |
implementation 'com.google.firebase:firebase-messaging:20.1.7' // Assets/Firebase/Editor/MessagingDependencies.xml:13 | |
implementation 'com.google.firebase:firebase-messaging-unity:6.15.0' // Assets/Firebase/Editor/MessagingDependencies.xml:20 | |
implementation 'com.google.games:gpgs-plugin-support:0.10.09' // Assets/GooglePlayGames/Editor/GooglePlayGamesPluginDependencies.xml:11 | |
implementation 'com.parse.bolts:bolts-android:1.4.0' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:4 | |
// Android Resolver Dependencies End | |
**DEPS**} | |
// Android Resolver Exclusions Start | |
android { | |
packagingOptions { | |
exclude ('/lib/arm64-v8a/*' + '*') | |
exclude ('/lib/armeabi/*' + '*') | |
exclude ('/lib/mips/*' + '*') | |
exclude ('/lib/mips64/*' + '*') | |
exclude ('/lib/x86/*' + '*') | |
exclude ('/lib/x86_64/*' + '*') | |
} | |
} | |
// Android Resolver Exclusions End | |
android { | |
compileSdkVersion **APIVERSION** | |
buildToolsVersion '**BUILDTOOLS**' | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
defaultConfig { | |
minSdkVersion **MINSDKVERSION** | |
targetSdkVersion **TARGETSDKVERSION** | |
ndk { | |
abiFilters **ABIFILTERS** | |
} | |
versionCode **VERSIONCODE** | |
versionName '**VERSIONNAME**' | |
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD** | |
} | |
lintOptions { | |
abortOnError false | |
} | |
aaptOptions { | |
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" | |
}**PACKAGING_OPTIONS** | |
}**REPOSITORIES****SOURCE_BUILD_SETUP** | |
**EXTERNAL_SOURCES** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment