正在显示
6 个修改的文件
包含
12 行增加
和
13 行删除
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project version="4"> | 2 | <project version="4"> |
| 3 | <component name="CompilerConfiguration"> | 3 | <component name="CompilerConfiguration"> |
| 4 | - <bytecodeTargetLevel target="1.8" /> | 4 | + <bytecodeTargetLevel target="11" /> |
| 5 | </component> | 5 | </component> |
| 6 | </project> | 6 | </project> |
| @@ -11,7 +11,7 @@ buildscript { | @@ -11,7 +11,7 @@ buildscript { | ||
| 11 | 11 | ||
| 12 | } | 12 | } |
| 13 | dependencies { | 13 | dependencies { |
| 14 | - classpath 'com.android.tools.build:gradle:4.1.3' | 14 | + classpath 'com.android.tools.build:gradle:7.0.0-alpha14' |
| 15 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | 15 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
| 16 | classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" | 16 | classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" |
| 17 | classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version" | 17 | classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version" |
| @@ -23,12 +23,11 @@ buildscript { | @@ -23,12 +23,11 @@ buildscript { | ||
| 23 | } | 23 | } |
| 24 | apply plugin: 'io.codearte.nexus-staging' | 24 | apply plugin: 'io.codearte.nexus-staging' |
| 25 | 25 | ||
| 26 | -allprojects { | 26 | +subprojects { |
| 27 | repositories { | 27 | repositories { |
| 28 | google() | 28 | google() |
| 29 | mavenCentral() | 29 | mavenCentral() |
| 30 | jcenter() | 30 | jcenter() |
| 31 | - | ||
| 32 | } | 31 | } |
| 33 | } | 32 | } |
| 34 | 33 |
| @@ -23,7 +23,7 @@ kotlin.code.style=official | @@ -23,7 +23,7 @@ kotlin.code.style=official | ||
| 23 | ############################################################### | 23 | ############################################################### |
| 24 | 24 | ||
| 25 | GROUP=io.livekit | 25 | GROUP=io.livekit |
| 26 | -VERSION_NAME=0.6.0 | 26 | +VERSION_NAME=0.6.0-SNAPSHOT |
| 27 | 27 | ||
| 28 | POM_DESCRIPTION=Android SDK for WebRTC communication | 28 | POM_DESCRIPTION=Android SDK for WebRTC communication |
| 29 | 29 |
| @@ -40,11 +40,11 @@ def getSnapshotRepositoryUrl() { | @@ -40,11 +40,11 @@ def getSnapshotRepositoryUrl() { | ||
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | def getRepositoryUsername() { | 42 | def getRepositoryUsername() { |
| 43 | - return hasProperty('nexusUsername') ? NEXUS_USERNAME : "" | 43 | + return hasProperty('nexusUsername') ? nexusUsername : "" |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | def getRepositoryPassword() { | 46 | def getRepositoryPassword() { |
| 47 | - return hasProperty('nexusPassword') ? NEXUS_PASSWORD : "" | 47 | + return hasProperty('nexusPassword') ? nexusPassword : "" |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | def configurePom(pom) { | 50 | def configurePom(pom) { |
| 1 | -#Sun Feb 21 20:04:38 JST 2021 | 1 | +#Thu Apr 29 14:50:17 JST 2021 |
| 2 | distributionBase=GRADLE_USER_HOME | 2 | distributionBase=GRADLE_USER_HOME |
| 3 | +distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-rc-1-bin.zip | ||
| 3 | distributionPath=wrapper/dists | 4 | distributionPath=wrapper/dists |
| 4 | -zipStoreBase=GRADLE_USER_HOME | ||
| 5 | zipStorePath=wrapper/dists | 5 | zipStorePath=wrapper/dists |
| 6 | -distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip | 6 | +zipStoreBase=GRADLE_USER_HOME |
| @@ -4,12 +4,12 @@ apply plugin: 'kotlin-android' | @@ -4,12 +4,12 @@ apply plugin: 'kotlin-android' | ||
| 4 | apply plugin: 'kotlin-parcelize' | 4 | apply plugin: 'kotlin-parcelize' |
| 5 | 5 | ||
| 6 | android { | 6 | android { |
| 7 | - compileSdkVersion 29 | ||
| 8 | - buildToolsVersion "29.0.3" | 7 | + compileSdkVersion 30 |
| 8 | + buildToolsVersion "30.0.3" | ||
| 9 | defaultConfig { | 9 | defaultConfig { |
| 10 | applicationId "io.livekit.android" | 10 | applicationId "io.livekit.android" |
| 11 | minSdkVersion 21 | 11 | minSdkVersion 21 |
| 12 | - targetSdkVersion 29 | 12 | + targetSdkVersion 30 |
| 13 | versionCode 1 | 13 | versionCode 1 |
| 14 | versionName "1.0" | 14 | versionName "1.0" |
| 15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | 15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
-
请 注册 或 登录 后发表评论