Build: Setup jvmTarget 1.6 for several common modules

Some modules depending on them target jvm 1.6 and can't depend on
jvm 1.8 module in Gradle 6.5.
This commit is contained in:
Vyacheslav Gerasimov
2020-07-07 15:26:02 +03:00
parent b5ee0e8222
commit 697bb04d46
3 changed files with 6 additions and 0 deletions
@@ -4,6 +4,8 @@ apply plugin: 'kotlin-platform-common'
configurePublishing(project) configurePublishing(project)
jvmTarget = "1.6"
dependencies { dependencies {
compile kotlinStdlib("common") compile kotlinStdlib("common")
testCompile project(":kotlin-test:kotlin-test-common") testCompile project(":kotlin-test:kotlin-test-common")
@@ -4,6 +4,8 @@ apply plugin: 'kotlin-platform-common'
configurePublishing(project) configurePublishing(project)
jvmTarget = "1.6"
dependencies { dependencies {
compile kotlinStdlib("common") compile kotlinStdlib("common")
testCompile project(":kotlin-test:kotlin-test-annotations-common") testCompile project(":kotlin-test:kotlin-test-annotations-common")
+2
View File
@@ -4,6 +4,8 @@ apply plugin: 'kotlin-platform-common'
configurePublishing(project) configurePublishing(project)
jvmTarget = "1.6"
def commonSrcDir = "../src" def commonSrcDir = "../src"
def commonTestSrcDir = "../test" def commonTestSrcDir = "../test"