Skip to content

Commit

Permalink
Switch to Java for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
TechAurelian committed Apr 17, 2024
1 parent af93ff1 commit 31db275
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 17 deletions.
10 changes: 0 additions & 10 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = '1.8'
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
applicationId "com.anaurelian.helloworldcounters"
// You can update the following values to match your application needs.
Expand Down Expand Up @@ -75,5 +67,3 @@ android {
flutter {
source '../..'
}

dependencies {}
1 change: 0 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">


<application
android:label="Hello World Counters"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.anaurelian.helloworldcounters;

import io.flutter.embedding.android.FlutterActivity;

public class MainActivity extends FlutterActivity {
}

This file was deleted.

2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
id "org.jetbrains.kotlin.android" version "1.9.23" apply false
}

include ":app"

0 comments on commit 31db275

Please sign in to comment.