-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
56 lines (46 loc) · 1.21 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
group 'org.unifiedpush.flutter.connector'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.7.20'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
maven {
url "https://www.jitpack.io"
content {
includeModule 'com.github.UnifiedPush', 'android-connector'
}
}
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
kotlin {
jvmToolchain(8)
}
android {
compileSdk 34
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdk 16
}
namespace 'org.unifiedpush.flutter.connector'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "com.github.UnifiedPush:android-connector:2.4.0"
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.2'
//implementation files("../../../flutter/bin/cache/artifacts/engine/android-x64/flutter.jar")
}