Skip to content
Snippets Groups Projects
Unverified Commit 89980373 authored by Goooler's avatar Goooler Committed by GitHub
Browse files

Chore: remove unused dependencies & improve gradle properties & code style (#1189)

* Inline version strings

* Optimize gradle

* Remove kotlin-stdlib-jdk7

* Add jvmargs in gradle.properties

* Revert "Inline version strings"

This reverts commit ad2ab2bb

* Revert asserts
parent 1ea3a5b6
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,6 @@ dependencies {
implementation(project(":design"))
implementation(project(":common"))
implementation(kotlin("stdlib-jdk7"))
implementation(deps.kotlin.coroutine)
implementation(deps.androidx.core)
implementation(deps.androidx.activity)
......
......@@ -48,7 +48,7 @@ subprojects {
apply(plugin = if (isApp) "com.android.application" else "com.android.library")
extensions.configure(BaseExtension::class) {
extensions.configure<BaseExtension> {
val minSdkVersion = 21
val targetSdkVersion = 30
val buildVersionCode = 204010
......@@ -172,7 +172,7 @@ task("clean", type = Delete::class) {
delete(rootProject.buildDir)
}
tasks.named<Wrapper>("wrapper") {
tasks.wrapper {
distributionType = Wrapper.DistributionType.ALL
doLast {
......
......@@ -6,7 +6,6 @@ plugins {
dependencies {
compileOnly(project(":hideapi"))
implementation(kotlin("stdlib-jdk7"))
implementation(deps.kotlin.coroutine)
implementation(deps.androidx.core)
}
......@@ -57,16 +57,11 @@ android {
dependencies {
implementation(project(":common"))
implementation(kotlin("stdlib-jdk7"))
implementation(deps.androidx.core)
implementation(deps.kotlin.coroutine)
implementation(deps.kotlin.serialization.json)
}
repositories {
mavenCentral()
}
afterEvaluate {
tasks.withType(GolangBuildTask::class.java).forEach {
it.inputs.dir(golangSource)
......
......@@ -9,7 +9,6 @@ dependencies {
implementation(project(":core"))
implementation(project(":service"))
implementation(kotlin("stdlib-jdk7"))
implementation(deps.kotlin.coroutine)
implementation(deps.androidx.core)
implementation(deps.androidx.appcompat)
......
......@@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx4608m
org.gradle.jvmargs=-Xmx4g -XX:+UseParallelGC -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
......
......@@ -13,7 +13,6 @@ dependencies {
implementation(project(":core"))
implementation(project(":common"))
implementation(kotlin("stdlib-jdk7"))
implementation(deps.kotlin.coroutine)
implementation(deps.kotlin.serialization.json)
implementation(deps.androidx.core)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment