* android n ios * set this branch gh actions * set this branch gh actions2 * set this branch gh actions3 * set this branch gh actions4 * set this branch gh actions4.1 * set this branch gh actions5 * made executable * ... * ...2 * ...3 * ...4 * ...5 * ...6 * ...7 * ...88 * ios test keys * ios test keys2 * changed some fluufychat stuff * reset activation * pic update * reverted integrate to run again * ios-build1 * ios-build2 * android space clearing * another attempt * another attempt * another attempt2 * another attempt3 * android downgrade * undo cleanup * remove cache * sdk version force? * sdk version force remove * r8 fix * material * material remove agian * reset gradle, up flutter * downgfrade to 21 * android ndk up agian * android ndk up agian2 * with disk spcae r4emove agian... * allow ios modules * allow ios modules2 * updated version to compile on ios * how baout this * ios generated files * removed exclude group --------- Co-authored-by: ggurdin <ggurdin@gmail.com> Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
62 lines
1.8 KiB
Groovy
62 lines
1.8 KiB
Groovy
group 'com.famedly.fcm_shared_isolate'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.4.32'
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.2.1'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
def firebaseCoreProject = findProject(':firebase_core')
|
|
if (firebaseCoreProject == null) {
|
|
|
|
throw GradleException('Could not find the firebase_core FlutterFire plugin, have you added it as a dependency in your pubspec?')
|
|
} else if (!firebaseCoreProject.properties['FirebaseSDKVersion']) {
|
|
throw GradleException('A newer version of the firebase_core FlutterFire plugin is required, please update your firebase_core pubspec dependency.')
|
|
}
|
|
|
|
def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
|
|
if (!rootProject.ext.has('FlutterFire')) return firebaseCoreProject.properties[name]
|
|
if (!rootProject.ext.get('FlutterFire')[name]) return firebaseCoreProject.properties[name]
|
|
return rootProject.ext.get('FlutterFire').get(name)
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 34
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
}
|
|
lintOptions {
|
|
disable 'InvalidPackage'
|
|
}
|
|
dependencies {
|
|
api firebaseCoreProject
|
|
implementation platform("com.google.firebase:firebase-bom:${getRootProjectExtOrCoreProperty("FirebaseSDKVersion", firebaseCoreProject)}")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation 'com.google.firebase:firebase-messaging-ktx:23.0.2'
|
|
}
|