Gradle plugins migration to Gradle build

* Add gradle-tools subproject
* Add Gradle buildscripts to the related projects
* Remove the projects from the libraries pom.xml
* Move AndroidGradleWrapper.groovy to separate source root
* Changed artifact dependencies to project dependencies where needed
* Extract common configuration into commonConfiguration.gradle
* (convert functions to closures to be able to call them)
* Refactor DSL usage
* Replace `project.properties` with `findProperty`
* Unify Gradle wrapper between `libraries` and `gradle-tools`
(as a temporary solution, just made the wrapper files the same)
This commit is contained in:
Sergey Igushkin
2017-05-03 20:04:05 +03:00
parent 503891846f
commit 8e65b5f2c8
19 changed files with 763 additions and 195 deletions
@@ -0,0 +1,17 @@
apply plugin: 'kotlin'
apply plugin: 'maven'
configureJvmProject(project)
configurePublishing(project)
repositories {
mavenLocal()
maven { url 'http://repository.jetbrains.com/utils/' }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compileOnly 'org.jetbrains.kotlin:gradle-api:1.6'
compileOnly 'com.android.tools.build:gradle:0.4.2'
}