Skip to content

Commit

Permalink
chore: use groovy for gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkeraslan committed Feb 20, 2023
1 parent 4ee7cf6 commit 0958553
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 86 deletions.
18 changes: 18 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apply plugin: "aditogether.android.app"

android {
namespace = "aditogether.android.app"

buildTypes {
named("release")

named("debug") {
applicationIdSuffix ".debug"
debuggable true
}
}
}

dependencies {
implementation project(':shared')
}
22 changes: 0 additions & 22 deletions android/app/build.gradle.kts

This file was deleted.

59 changes: 59 additions & 0 deletions shared/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
import aditogether.buildtools.android.AndroidConfigs

apply plugin: "aditogether.multiplatform"
apply plugin: "com.android.library"

android {
namespace = "aditogether.shared"
compileSdk = AndroidConfigs.COMPILE_SDK

buildTypes {
named("release")

named("debug") {
applicationIdSuffix ".debug"
debuggable true
}
}
}

kotlin {
android()

iosArm64 {
/* Apple iOS on ARM64 platforms (Apple iPhone 5s and newer) */
binaries.framework {
baseName = "aditogether"
}
}

iosX64 {
/* Apple iOS simulator on x86_64 platforms */
binaries.framework {
baseName = "aditogether"
}
}

iosSimulatorArm64 {
/* Apple iOS simulator on Apple Silicon platforms */
binaries.framework {
baseName = "aditogether"
}
}

sourceSets {
commonMain {}
commonTest {}

androidMain {}
androidUnitTest {}

jvmMain {}
jvmTest {}

iosMain { dependsOn(commonMain) }
iosX64Main { dependsOn(iosMain) }
iosArm64Main { dependsOn(iosMain) }
iosSimulatorArm64Main { dependsOn(iosMain) }
}
}
64 changes: 0 additions & 64 deletions shared/build.gradle.kts

This file was deleted.

0 comments on commit 0958553

Please sign in to comment.