Skip to content
Merged
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
16 changes: 8 additions & 8 deletions packages/android_intent_plus/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'dev.fluttercommunity.plus.androidintent'
version '1.0-SNAPSHOT'
group = 'dev.fluttercommunity.plus.androidintent'
version = '1.0-SNAPSHOT'

buildscript {
repositories {
Expand All @@ -22,20 +22,20 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
namespace 'dev.fluttercommunity.plus.androidintent'
namespace = 'dev.fluttercommunity.plus.androidintent'
compileSdk = flutter.compileSdkVersion

defaultConfig {
minSdk 19
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
minSdk = 19
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

lintOptions {
lint {
disable 'InvalidPackage'
}

Expand Down
35 changes: 18 additions & 17 deletions packages/android_intent_plus/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,44 +23,45 @@ if (flutterVersionName == null) {
}

android {
namespace 'io.flutter.plugins.androidintentexample'
namespace = 'io.flutter.plugins.androidintentexample'
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

lintOptions {
disable 'InvalidPackage'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

defaultConfig {
applicationId "io.flutter.plugins.androidintentexample"
minSdk flutter.minSdkVersion
targetSdk flutter.targetSdkVersion
applicationId = "io.flutter.plugins.androidintentexample"
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion

versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
versionCode = flutterVersionCode.toInteger()
versionName = flutterVersionName
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

lint {
disable 'InvalidPackage'
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
signingConfig = signingConfigs.debug
}
}
}

flutter {
source '../..'
source = '../..'
}

dependencies {
implementation 'androidx.core:core-ktx:1.13.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.androidintentexample">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
<!--
Expand Down
6 changes: 3 additions & 3 deletions packages/android_intent_plus/example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ allprojects {
}
}

rootProject.buildDir = '../build'
rootProject.layout.buildDirectory.value(layout.projectDirectory.dir('../build'))
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.layout.buildDirectory.value(rootProject.layout.buildDirectory.dir(project.name))
}
subprojects {
project.evaluationDependsOn(':app')
}

tasks.register("clean", Delete) {
delete rootProject.buildDir
delete rootProject.layout.buildDirectory
}
Loading