Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
livekitAndroidXuningTest
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David Zhao
2021-03-22 17:24:40 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3195dc3ded4ac982aaea097d58d38e33c41e5e67
3195dc3d
1 parent
480a9e2e
add Dokka for documentation
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
47 行增加
和
1 行删除
build.gradle
livekit-android-sdk/build.gradle
livekit-android-sdk/module.md
settings.gradle
build.gradle
查看文件 @
3195dc3
...
...
@@ -3,6 +3,7 @@
buildscript
{
ext
.
kotlin_version
=
'1.4.31'
ext
.
java_version
=
JavaVersion
.
VERSION_1_8
ext
.
dokka_version
=
'1.4.30'
repositories
{
google
()
mavenCentral
()
...
...
@@ -19,6 +20,10 @@ buildscript {
}
}
plugins
{
id
"org.jetbrains.dokka"
version
"$dokka_version"
}
allprojects
{
repositories
{
google
()
...
...
livekit-android-sdk/build.gradle
查看文件 @
3195dc3
...
...
@@ -3,6 +3,9 @@ apply plugin: 'kotlin-android'
apply
plugin:
'kotlin-kapt'
apply
plugin:
'kotlinx-serialization'
apply
plugin:
'com.google.protobuf'
apply
plugin:
'org.jetbrains.dokka'
import
java.net.URL
android
{
compileSdkVersion
29
...
...
@@ -55,6 +58,27 @@ protobuf {
}
}
dokkaHtml
{
moduleName
.
set
(
"livekit-android-sdk"
)
dokkaSourceSets
{
configureEach
{
skipEmptyPackages
.
set
(
true
)
includeNonPublic
.
set
(
false
)
includes
.
from
(
"module.md"
)
sourceLink
{
localDirectory
.
set
(
file
(
"src/main/java"
))
// URL showing where the source code can be accessed through the web browser
remoteUrl
.
set
(
new
URL
(
"https://github.com/livekit/client-sdk-android/tree/master/livekit-android-sdk/src/main/java"
))
// Suffix which is used to append the line number to the URL. Use #L for GitHub
remoteLineSuffix
.
set
(
"#L"
)
}
}
}
}
dependencies
{
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
...
...
@@ -74,4 +98,4 @@ dependencies {
testImplementation
'junit:junit:4.12'
androidTestImplementation
'androidx.test.ext:junit:1.1.2'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.3.0'
}
\ No newline at end of file
}
...
...
livekit-android-sdk/module.md
0 → 100644
查看文件 @
3195dc3
# Module livekit-android-sdk
Android Client SDK to
[
LiveKit
](
https://github.com/livekit/livekit-server
)
.
# Package io.livekit.android
This package contains the initial
`connect`
function.
# Package io.livekit.android.room
Room is the primary class that manages the connection to the LiveKit Room. It exposes listeners that lets you hook into room events
...
...
settings.gradle
查看文件 @
3195dc3
pluginManagement
{
repositories
{
gradlePluginPortal
()
jcenter
()
}
}
include
':sample-app'
,
':livekit-android-sdk'
rootProject
.
name
=
'livekit-android'
...
...
请
注册
或
登录
后发表评论