Skip to content

Commit

Permalink
Technical: Kotlin leverage applyDefaultHierarchyTemplate.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed Dec 10, 2023
1 parent 3214587 commit f2b141d
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions emoji-facebook/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ metalava {
version = VERSION_NAME

kotlin {
applyDefaultHierarchyTemplate()

androidTarget("android") {
publishLibraryVariants("release")
}
// ios("ios")
jvm("jvm")
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
jvm()
jvmToolchain(11)

sourceSets {
commonMain {
Expand Down
8 changes: 4 additions & 4 deletions emoji-google-compat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ metalava {
version = VERSION_NAME

kotlin {
applyDefaultHierarchyTemplate()

androidTarget("android") {
publishLibraryVariants("release")
}
// ios("ios")
jvm("jvm")
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
jvm()
jvmToolchain(11)

sourceSets {
commonMain {
Expand Down
8 changes: 4 additions & 4 deletions emoji-google/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ metalava {
version = VERSION_NAME

kotlin {
applyDefaultHierarchyTemplate()

androidTarget("android") {
publishLibraryVariants("release")
}
// ios("ios")
jvm("jvm")
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
jvm()
jvmToolchain(11)

sourceSets {
commonMain {
Expand Down
8 changes: 4 additions & 4 deletions emoji-ios/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ metalava {
version = VERSION_NAME

kotlin {
applyDefaultHierarchyTemplate()

androidTarget("android") {
publishLibraryVariants("release")
}
// ios("ios")
jvm("jvm")
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
jvm()
jvmToolchain(11)

sourceSets {
commonMain {
Expand Down
8 changes: 4 additions & 4 deletions emoji-material/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ metalava {
version = VERSION_NAME

kotlin {
applyDefaultHierarchyTemplate()

androidTarget("android") {
publishLibraryVariants("release")
}
// ios("ios")
jvm("jvm")
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
jvm()
jvmToolchain(11)

sourceSets {
commonMain {
Expand Down
8 changes: 4 additions & 4 deletions emoji-twitter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ metalava {
version = VERSION_NAME

kotlin {
applyDefaultHierarchyTemplate()

androidTarget("android") {
publishLibraryVariants("release")
}
// ios("ios")
jvm("jvm")
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
jvm()
jvmToolchain(11)

sourceSets {
commonMain {
Expand Down
8 changes: 4 additions & 4 deletions emoji/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ metalava {
version = VERSION_NAME

kotlin {
applyDefaultHierarchyTemplate()

androidTarget("android") {
publishLibraryVariants("release")
}
// ios("ios")
jvm("jvm")
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
jvm()
jvmToolchain(11)

sourceSets {
commonMain {
Expand Down

0 comments on commit f2b141d

Please sign in to comment.