Add script runtime, refactorings

This commit is contained in:
Ilya Chernikov
2016-12-30 11:54:46 +01:00
committed by Ilya Gorbunov
parent c2c051cfe8
commit ed9221cb7d
4 changed files with 60 additions and 21 deletions
+13
View File
@@ -19,6 +19,19 @@ allprojects {
subprojects {
apply plugin: 'kotlin'
jar {
baseName = project.name
manifest {
attributes 'Implementation-Vendor': 'JetBrains',
'Implementation-Title': "${project.description ?: project.name}", // TODO: project.description is resolved after evaluating this, therefore this attribute is repeated in the projects; seek for a solution
'Implementation-Version': version,
'Build-Jdk': System.getProperty('java.version'),
// 'Kotlin-Version': kotlin.language.version, // TODO: if we need it - find the way to extract it
'Built-By': 'JetBrains'
}
from("${rootDir}/../dist/kotlinc/build.txt") { into("META-INF/") }
}
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource