普通文本  |  24行  |  553 B

buildscript {
    ext.dataBindingRootFolder = new File(project.projectDir, "../../..")
    apply from: "${project.projectDir}/propLoaderClone.gradle"
    ext.addRepos(repositories)
    dependencies {
        classpath "com.android.tools.build:gradle:${dataBindingConfig.androidPluginVersion}"
    }
}

subprojects {
    apply plugin: 'maven'
    group = dataBindingConfig.group
    version = dataBindingConfig.version
}

allprojects {
    repositories {
        jcenter()
        maven {
            url dataBindingConfig.mavenRepoDir
        }
    }
}