Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- // beginning of boilerplate from AndroidStudio
- buildscript {
- repositories {
- google()
- jcenter()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.1.3' // replace this as needed
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
- // end of boilerplate from AndroidStudio
- // add this section to your top level build.gralde for access to the Artifactory repository
- allprojects {
- repositories {
- google()
- jcenter()
- maven {
- url "${artifactory_contextUrl}" + "/" + "${artifactory_repoKey}"
- credentials {
- username = "${artifactory_user}"
- password = "${artifactory_password}"
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment