123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- apply plugin: 'com.android.library'
- buildscript {
- repositories {
- maven {
- url "https://plugins.gradle.org/m2/"
- }
- }
- dependencies {
- classpath 'gradle.plugin.io.pry.gradle.offline_dependencies:gradle-offline-dependencies-plugin:0.5.0'
- }
- }
- apply plugin: 'io.pry.gradle.offline_dependencies'
- offlineDependencies {
- repositories {
- google()
- jcenter()
- maven { url 'https://github.com/jitsi/jitsi-maven-repository/raw/master/releases' }
- }
- includeSources = false
- includeJavadocs = false
- includePoms = true
- includeIvyXmls = false
- includeBuildscriptDependencies = false
- }
- android {
- compileSdkVersion compile_version
- defaultConfig {
- minSdkVersion min_version
- targetSdkVersion target_version
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- configurations.all {
- resolutionStrategy.eachDependency { details ->
- if (details.requested.group == 'com.facebook.react' && details.requested.name == 'react-native') {
- details.useVersion '0.61.1'
- }
- }
- }
- dependencies {
- // jitsi,
- api files('libs/jitsi-meet-sdk-2.4.0-4.aar')
- // jitsi自己的依赖,
- api 'com.facebook.react:react-native:0.61.1'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.appcompat:appcompat:1.1.0'
- implementation 'androidx.fragment:fragment:1.1.0'
- implementation 'org.webkit:android-jsc:r245459'
- implementation 'com.dropbox.core:dropbox-core-sdk:3.0.8'
- implementation 'com.jakewharton.timber:timber:4.7.1'
- implementation 'com.squareup.duktape:duktape-android:1.3.0'
- implementation('com.facebook.react:react-native-background-timer:2.1.1-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-calendar-events:1.7.3-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-community-async-storage:1.3.4-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-community_netinfo:4.1.5-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-immersive:2.0.0-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-keep-awake:4.0.0-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-linear-gradient:2.5.6-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-sound:0.11.0-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-svg:9.7.1-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-webrtc:1.75.0-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- implementation('com.facebook.react:react-native-webview:7.4.1-jitsi-2535222') {
- exclude group: 'com.facebook.react', module: 'react-native'
- }
- }
|