Skip to content

Commit

Permalink
Merge branch 'release/sora-andoroid-sdk-2022.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
miosakuma committed Apr 5, 2022
2 parents 125695f + 864e4c1 commit 97be82c
Show file tree
Hide file tree
Showing 9 changed files with 263 additions and 55 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build

on:
push:
paths-ignore:
- 'README.md'
- 'CHANGES.md'
- 'LICENSE'
- 'THANKS'
schedule:
- cron: "0 0 * * *"

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
cache: 'gradle'
- name: Copy gradle.properties
run: cp gradle.properties.example gradle.properties
- name: Build with Gradle
run: ./gradlew build
- name: Lint Check
run: ./gradlew ktlintCheck
128 changes: 128 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,23 @@
- FIX
- バグ修正

## develop

## sora-andoroid-sdk-2022.2.0

- [UPDATE] システム条件を更新する
- Android Studio 2022.1.1 以降
- Sora Android SDK 2022.2.0 以降
- @miosakuma
- [UPDATE] Kotlin Android Extensions の非推奨化に伴い、ビュー バインディングに移行する
- @miosakuma

## sora-andoroid-sdk-2022.1.0

- [UPDATE] システム条件を更新する
- Android Studio 2020.3.1 以降
- Sora Android SDK 2022.1.0 以降
- @miosakuma
- [ADD] シグナリング接続時に送信するメタデータを外部ファイルから設定できるようにする
- @miosakuma

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ Sora Android SDK の使い方は
## システム条件

- Android 5.0 以降 (エミュレーターでの動作は保証しません)
- Android Studio 2020.3.1 以降
- WebRTC SFU Sora 2021.1 以降
- Sora Android SDK 2021.3 以降
- Android Studio 2022.1.1 以降
- WebRTC SFU Sora 2021.2 以降
- Sora Android SDK 2022.2.0 以降

## 参考リンク

Expand Down
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
apply plugin: "com.github.ben-manes.versions"

buildscript {
ext.kotlin_version = '1.4.31'
ext.sora_android_sdk_version = '2022.1.0'
ext.kotlin_version = '1.6.10'
ext.sora_android_sdk_version = '2022.2.0'

repositories {
google()
gradlePluginPortal()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"

classpath "com.github.ben-manes:gradle-versions-plugin:0.38.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.41.0"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.2.1"
}

// デバッグ用: true に設定すると wss ではなく ws で接続できる
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
24 changes: 18 additions & 6 deletions quickstart/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
apply plugin: 'com.android.application'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'org.jlleitschuh.gradle.ktlint'

android {
compileSdkVersion 30
Expand Down Expand Up @@ -39,20 +38,32 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

viewBinding {
enabled = true
}
}

ktlint {
version = "0.43.2"
android = false
outputToConsole = true
reporters {
reporter "checkstyle"
}
ignoreFailures = false
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlin_version}"
implementation "org.jetbrains.kotlin:kotlin-reflect:${kotlin_version}"

implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.google.code.gson:gson:2.8.9'

implementation "androidx.appcompat:appcompat:1.2.0"
implementation "com.google.android.material:material:1.3.0"

implementation "com.github.permissions-dispatcher:permissionsdispatcher:4.8.0"
kapt "com.github.permissions-dispatcher:permissionsdispatcher-processor:4.8.0"
implementation "com.github.permissions-dispatcher:permissionsdispatcher:4.9.1"
kapt "com.github.permissions-dispatcher:permissionsdispatcher-processor:4.9.1"

// Sora Android SDK
if (findProject(':sora-android-sdk') != null) {
Expand All @@ -74,6 +85,7 @@ configurations.all {
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
finalizedBy("ktlintFormat")
kotlinOptions {
jvmTarget = "1.8"
}
Expand Down
Loading

0 comments on commit 97be82c

Please sign in to comment.