Created
May 2, 2020 11:58
-
-
Save PaoloMilano/b6052a1b46962474015d7b434d8f2ebd 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
| apply plugin: 'java-gradle-plugin' // Allows us to create and configure custom plugins | |
| apply plugin: 'kotlin' //Needed as we'll write our plugin in Kotlin | |
| buildscript { | |
| ext.kotlin_version = '1.3.71' | |
| ext.gradle_version = '3.5.3' | |
| repositories { | |
| google() | |
| jcenter() | |
| } | |
| dependencies { | |
| classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
| classpath "com.android.tools.build:gradle:$gradle_version" | |
| } | |
| } | |
| repositories { | |
| google() | |
| jcenter() | |
| } | |
| dependencies { | |
| implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | |
| // Android gradle plugin will allow us to access Android specific features | |
| implementation "com.android.tools.build:gradle:$gradle_version" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment