Protobuf: added Gradle script for building ProtoKot runtime into JAR; refactored file structure in carkot/proto/runtime according to Kotlin projects conventions

This commit is contained in:
dsavvinov
2016-08-09 11:25:08 +03:00
parent afc3b65862
commit 135b074c48
7 changed files with 28 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
group 'protokot-runtime'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.0.3'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.2"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:1.0.1"
}
jar {
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}