Last active
September 24, 2017 10:19
-
-
Save miquelbeltran/c56905a7b142f2666412d7d3481c27e5 to your computer and use it in GitHub Desktop.
This file contains 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: 'kotlin' | |
kapt { | |
generateStubs = true | |
} | |
repositories { | |
mavenCentral() | |
} | |
sourceSets { | |
main { | |
java { | |
srcDir "${buildDir.absolutePath}/tmp/kapt/main/kotlinGenerated/" | |
} | |
} | |
} | |
dependencies { | |
kapt project(":generator") | |
compileOnly project(":generator") | |
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment