-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Dependency versions bump: - kotlin to 1.4.30 - AGP to 7.0.0-alpha06 - AndroidX annotations to 1.2.0-beta01 Remove jcenter dependency
- Loading branch information
Showing
22 changed files
with
378 additions
and
304 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
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,94 @@ | ||
import com.android.build.gradle.LibraryExtension | ||
import io.gitlab.arturbosch.detekt.Detekt | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
buildscript { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
|
||
dependencies { | ||
classpath(Dependencies.androidGradlePlugin) | ||
classpath(Dependencies.kotlinGradlePlugin) | ||
} | ||
} | ||
|
||
plugins { | ||
id("io.gitlab.arturbosch.detekt") version "1.16.0-RC1" | ||
id("org.shipkit.java") version "2.3.5" | ||
id("com.github.ben-manes.versions") version "0.36.0" | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
maven("https://dl.bintray.com/kotlin/kotlinx/") | ||
} | ||
|
||
dependencies { | ||
detekt(Dependencies.detektFormatting) | ||
detekt(Dependencies.detektCli) | ||
} | ||
|
||
detekt { | ||
input = files(projectDir) | ||
config = rootProject.files("detekt-config.yml") | ||
} | ||
|
||
tasks.withType(Detekt::class) { | ||
exclude("build/") | ||
exclude("buildSrc/build/") | ||
parallel = true | ||
reports { | ||
xml.enabled = true | ||
html.enabled = false | ||
txt.enabled = false | ||
} | ||
} | ||
|
||
tasks.withType(KotlinCompile::class).all { | ||
kotlinOptions { | ||
freeCompilerArgs = listOf("-Xexplicit-api=strict") | ||
} | ||
} | ||
|
||
subprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
maven("https://jitpack.io") | ||
} | ||
|
||
group = "pl.droidsonroids.foqa" | ||
|
||
if (name == "sample") { | ||
return@subprojects | ||
} | ||
|
||
apply(plugin = "com.android.library") | ||
apply(plugin = "kotlin-android") | ||
apply(plugin = "kotlin-kapt") | ||
apply(plugin = "org.shipkit.bintray") | ||
apply(plugin = "org.shipkit.android-publish") | ||
|
||
with(extensions.getByName("android") as LibraryExtension) { | ||
compileSdkVersion(Dependencies.compileSdk) | ||
defaultConfig { | ||
setMinSdkVersion(Dependencies.minSdk) | ||
setTargetSdkVersion(Dependencies.targetSdk) | ||
} | ||
|
||
resourcePrefix = "foqa_" | ||
|
||
variantFilter { | ||
ignore = name == "debug" | ||
} | ||
} | ||
|
||
dependencies { | ||
"implementation"(kotlin("stdlib-jdk7")) | ||
"implementation"(Dependencies.hyperionPlugin) | ||
"kapt"(Dependencies.autoService) | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
google() | ||
} |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
object Dependencies { | ||
const val compileSdk = 30 | ||
const val targetSdk = 30 | ||
const val minSdk = 19 | ||
|
||
const val autoService = "com.google.auto.service:auto-service:1.0-rc7" | ||
const val androidxAnnotations = "androidx.annotation:annotation:1.2.0-beta01" | ||
const val detektFormatting = "io.gitlab.arturbosch.detekt:detekt-formatting:1.16.0-RC1" | ||
const val detektCli = "io.gitlab.arturbosch.detekt:detekt-cli:1.16.0-RC1" | ||
const val hyperionCore = "com.willowtreeapps.hyperion:hyperion-core:0.9.31" | ||
const val hyperionPlugin = "com.willowtreeapps.hyperion:hyperion-plugin:0.9.31" | ||
const val hyperionAttr = "com.willowtreeapps.hyperion:hyperion-attr:0.9.31" | ||
const val hyperionMeasurement = "com.willowtreeapps.hyperion:hyperion-measurement:0.9.31" | ||
const val hyperionDisk = "com.willowtreeapps.hyperion:hyperion-disk:0.9.31" | ||
const val hyperionRecorder = "com.willowtreeapps.hyperion:hyperion-recorder:0.9.31" | ||
const val hyperionPhoenix = "com.willowtreeapps.hyperion:hyperion-phoenix:0.9.31" | ||
const val hyperionCrash = "com.willowtreeapps.hyperion:hyperion-crash:0.9.31" | ||
const val hyperionSharedPreferences = "com.willowtreeapps.hyperion:hyperion-shared-preferences:0.9.31" | ||
const val hyperionGeigerCounter = "com.willowtreeapps.hyperion:hyperion-geiger-counter:0.9.31" | ||
const val hyperionTimber = "com.willowtreeapps.hyperion:hyperion-timber:0.9.31" | ||
const val hyperionBuildConfig = "com.willowtreeapps.hyperion:hyperion-build-config:0.9.31" | ||
const val hyperionAppInfo = "com.github.STAR-ZERO:Hyperion-AppInfo:1.1.0" | ||
const val chucker = "com.github.ChuckerTeam.Chucker:library:3.4.0" | ||
const val deviceNames = "com.jaredrummler:android-device-names:2.0.0" | ||
const val debugDb = "com.github.amitshekhariitbhu.Android-Debug-Database:debug-db:1.0.6" | ||
const val multidex = "androidx.multidex:multidex:2.0.1" | ||
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.0-alpha06" | ||
const val kotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.30" | ||
} |
6 changes: 3 additions & 3 deletions
6
chucker_plugin/build.gradle → chucker_plugin/build.gradle.kts
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 @@ | ||
androidPublish.artifactId = 'chucker' | ||
androidPublish.artifactId = "chucker" | ||
description = "Hyperion plugin for menu item with Chuckuer - simple in-app HTTP inspector. Part of FoQA project." | ||
|
||
dependencies { | ||
implementation "com.github.ChuckerTeam.Chucker:library:$versions.chucker" | ||
} | ||
api(Dependencies.chucker) | ||
} |
Oops, something went wrong.