-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dependencies): upgrade dependencies and improve build variables
- Loading branch information
1 parent
4e607b2
commit fcb1bd9
Showing
5 changed files
with
63 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,33 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
buildscript { | ||
ext { | ||
// Livestream | ||
versionCode = properties['VERSION_CODE'].toInteger() | ||
versionName = "${properties['VERSION_NAME']}" | ||
// SDK and tools | ||
minSdk = 21 | ||
compileSdk = 34 | ||
targetSdk = 34 | ||
|
||
// Kotlin | ||
kotlin_version = "1.6.10" | ||
dokka_version = "1.6.10" | ||
kotlinVersion = "1.8.22" | ||
dokkaVersion = "1.8.20" | ||
|
||
// SDK and tools | ||
compileSdkVersion = 31 | ||
minSdkVersion = 21 | ||
targetSdkVersion = 31 | ||
// Example | ||
versionCode = properties['VERSION_CODE'].toInteger() | ||
versionName = "${properties['VERSION_NAME']}" | ||
|
||
// StreamPack | ||
streamPackVersion = "2.5.2" | ||
} | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:7.1.2' | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version" | ||
|
||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
dependencies { | ||
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion" | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
plugins { | ||
id 'com.android.application' version '7.4.2' apply false | ||
id 'com.android.library' version '7.4.2' apply false | ||
id 'org.jetbrains.kotlin.android' version "$kotlinVersion" apply false | ||
} | ||
|
||
task clean(type: Delete) { | ||
tasks.register('clean', Delete) { | ||
delete rootProject.buildDir | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Mar 30 13:54:51 CEST 2022 | ||
#Fri Oct 13 16:06:55 CEST 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
pluginManagement { | ||
repositories { | ||
gradlePluginPortal() | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
dependencyResolutionManagement { | ||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
rootProject.name = "ApiVideoLiveStream" | ||
include ':livestream' | ||
include ':example' | ||
rootProject.name = "live-stream" |