azure-communication-chat: adding buiild.gradle and importing to settings.gradle

This commit is contained in:
Anu Thomas Chandy 2021-03-03 17:40:56 -08:00
Родитель 29d132c1bc
Коммит 05314bbcfa
4 изменённых файлов: 38 добавлений и 16 удалений

Просмотреть файл

@ -0,0 +1,32 @@
ext.publishName = "Microsoft Azure Android Client Library Chat SDK For Communication Service"
description = "This package contains the Android client library Chat SDK for Microsoft Azure Communication Service."
version = "1.0.0-beta.6"
ext.versionCode = 1
android {
defaultConfig {
versionCode project.versionCode
versionName project.version
}
}
dependencies {
// <!-- begin: api Dependencies -->
api project(":sdk:core:azure-core")
api project(":sdk:core:azure-core-logging")
api project(":sdk:core:azure-core-credential")
// <!-- end: api Dependencies -->
// <!-- begin: implementation Dependencies -->
implementation "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
implementation "com.jakewharton.threetenabp:threetenabp:$threeTenAbpVersion"
// <!-- end: implementation Dependencies -->
// <!-- begin: test Dependencies -->
testRuntimeOnly ("org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion")
testImplementation ("org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion")
testImplementation ("org.junit.jupiter:junit-jupiter-params:$junitJupiterVersion")
testImplementation ("org.mockito:mockito-core:$mockitoVersion")
testImplementation "org.threeten:threetenbp:$threeTenBpVersion"
// <!-- end: test Dependencies -->
}

Просмотреть файл

@ -0,0 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.azure.android.communication.chat">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>

Просмотреть файл

@ -1,16 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
module com.azure.communication.chat {
requires transitive com.azure.communication.common;
// public API surface area
exports com.azure.communication.chat;
exports com.azure.communication.chat.models;
opens com.azure.communication.chat.models
to com.fasterxml.jackson.databind;
opens com.azure.communication.chat.implementation.models
to com.fasterxml.jackson.databind, com.azure.core;
}

Просмотреть файл

@ -1,4 +1,5 @@
include ':sdk:communication:azure-communication-common'
include ':sdk:communication:azure-communication-chat'
include ":sdk:core:azure-core-logging"
include ':sdk:core:azure-core-jackson'
include ":sdk:core:azure-core"