Skip to content

Commit

Permalink
feat(terminal): remove kotlin settings from demo
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Dec 5, 2024
1 parent 9c55d7f commit ac1abdb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
13 changes: 0 additions & 13 deletions demo/angular/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'

android {
namespace "io.ionic.starter"
Expand Down Expand Up @@ -34,7 +32,6 @@ repositories {
flatDir{
dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
}
maven { url 'https://jitpack.io' }
}

dependencies {
Expand All @@ -47,16 +44,6 @@ dependencies {
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
implementation project(':capacitor-cordova-android-plugins')
constraints {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0") {
because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib")
}
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0") {
because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
}
}
implementation "androidx.core:core-ktx:1.6.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

apply from: 'capacitor.build.gradle'
Expand Down
3 changes: 0 additions & 3 deletions demo/angular/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '2.0.+'

repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.1'
classpath 'com.google.gms:google-services:4.4.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
1 change: 0 additions & 1 deletion demo/angular/android/variables.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ ext {
androidxJunitVersion = '1.1.5'
androidxEspressoCoreVersion = '3.5.1'
cordovaAndroidVersion = '10.1.1'
kotlin_version= '1.8.10'

// If you use @capacitor-community/stripe:
// stripeAndroidVersion = '20.39.+'
Expand Down
2 changes: 1 addition & 1 deletion packages/terminal/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ext {
}

buildscript {
ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '20.0.+'
ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '2.0.+'
repositories {
google()
mavenCentral()
Expand Down

0 comments on commit ac1abdb

Please sign in to comment.