Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example cleanup & improve gradle compatibility. #893

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 31
compileSdkVersion 33

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -40,7 +40,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.xraph.plugin.flutter_unity_widget_example"
minSdkVersion 28
targetSdkVersion 31
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand Down
8 changes: 4 additions & 4 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.7.10'
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand All @@ -19,7 +19,7 @@ allprojects {
}

google()
jcenter()
mavenCentral()
}
}

Expand Down
2 changes: 1 addition & 1 deletion example/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
5 changes: 0 additions & 5 deletions example/lib/menu_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ class _MenuScreenState extends State<MenuScreen> {
route: '/orientation',
description: 'test orientation change',
),
_MenuListItem(
description: 'Unity native activity demo',
route: '/activity',
title: 'Native Activity Demo ',
),
];

@override
Expand Down
1 change: 0 additions & 1 deletion example/linux/.gitignore

This file was deleted.

116 changes: 0 additions & 116 deletions example/linux/CMakeLists.txt

This file was deleted.

87 changes: 0 additions & 87 deletions example/linux/flutter/CMakeLists.txt

This file was deleted.

11 changes: 0 additions & 11 deletions example/linux/flutter/generated_plugin_registrant.cc

This file was deleted.

15 changes: 0 additions & 15 deletions example/linux/flutter/generated_plugin_registrant.h

This file was deleted.

23 changes: 0 additions & 23 deletions example/linux/flutter/generated_plugins.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions example/linux/main.cc

This file was deleted.

Loading
Loading