You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.2 KiB
54 lines
1.2 KiB
group 'io.openim.flutter_openim_sdk'
|
|
version '1.0'
|
|
|
|
def dir = getCurrentProjectDir()
|
|
|
|
def getCurrentProjectDir() {
|
|
String result = ""
|
|
rootProject.allprojects { project ->
|
|
if (project.properties.get("name").toString() == "flutter_openim_sdk") {
|
|
result = project.properties.get("projectDir").toString()
|
|
}
|
|
}
|
|
return result
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
|
maven { url 'https://maven.aliyun.com/repository/central' }
|
|
maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }
|
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.3.1'
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 34
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'io.openim:core-sdk:3.8.2@aar'
|
|
} |