mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-08-08 11:18:52 +00:00
gradle: Format build scripts with ktlint
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -207,19 +207,19 @@ sonar {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
/** Desugaring **/
|
||||
// Desugaring
|
||||
coreLibraryDesugaring(libs.android.desugar)
|
||||
|
||||
/** NewPipe libraries **/
|
||||
// NewPipe libraries
|
||||
implementation(libs.newpipe.nanojson)
|
||||
implementation(libs.newpipe.extractor)
|
||||
implementation(libs.newpipe.filepicker)
|
||||
|
||||
/** Checkstyle **/
|
||||
// Checkstyle
|
||||
checkstyle(libs.puppycrawl.checkstyle)
|
||||
ktlint(libs.pinterest.ktlint)
|
||||
|
||||
/** AndroidX **/
|
||||
// AndroidX
|
||||
implementation(libs.androidx.appcompat)
|
||||
implementation(libs.androidx.cardview)
|
||||
implementation(libs.androidx.constraintlayout)
|
||||
@@ -248,7 +248,7 @@ dependencies {
|
||||
// Kotlinx Serialization
|
||||
implementation(libs.kotlinx.serialization.json)
|
||||
|
||||
/** Third-party libraries **/
|
||||
// Third-party libraries
|
||||
implementation(libs.livefront.bridge)
|
||||
implementation(libs.evernote.statesaver.core)
|
||||
kapt(libs.evernote.statesaver.compiler)
|
||||
@@ -298,8 +298,7 @@ dependencies {
|
||||
// Date and time formatting
|
||||
implementation(libs.ocpsoft.prettytime)
|
||||
|
||||
/** Debugging **/
|
||||
// Memory leak detection
|
||||
// Debugging and memory leak detection
|
||||
debugImplementation(libs.squareup.leakcanary.watcher)
|
||||
debugImplementation(libs.squareup.leakcanary.plumber)
|
||||
debugImplementation(libs.squareup.leakcanary.core)
|
||||
@@ -307,7 +306,7 @@ dependencies {
|
||||
debugImplementation(libs.facebook.stetho.core)
|
||||
debugImplementation(libs.facebook.stetho.okhttp3)
|
||||
|
||||
/** Testing **/
|
||||
// Testing
|
||||
testImplementation(libs.junit)
|
||||
testImplementation(libs.mockito.core)
|
||||
|
||||
|
||||
+6
-6
@@ -20,7 +20,7 @@ dependencyResolutionManagement {
|
||||
maven(url = "https://repo.clojars.org")
|
||||
}
|
||||
}
|
||||
include (":app") // androidApp
|
||||
include(":app") // androidApp
|
||||
include(":desktopApp")
|
||||
include("shared")
|
||||
|
||||
@@ -28,9 +28,9 @@ include("shared")
|
||||
// We assume, that NewPipe and NewPipe Extractor have the same parent directory.
|
||||
// If this is not the case, please change the path in includeBuild().
|
||||
|
||||
//includeBuild("../NewPipeExtractor") {
|
||||
// dependencySubstitution {
|
||||
// substitute(module("com.github.TeamNewPipe:NewPipeExtractor"))
|
||||
// .using(project(":extractor"))
|
||||
// includeBuild("../NewPipeExtractor") {
|
||||
// dependencySubstitution {
|
||||
// substitute(module("com.github.TeamNewPipe:NewPipeExtractor"))
|
||||
// .using(project(":extractor"))
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user