Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "feat(ui): make cloudstream superfast boi via baseline & startup profile generation" #1007

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
id("com.google.devtools.ksp")
id("kotlin-android")
id("org.jetbrains.dokka")
id("androidx.baselineprofile")
}

val tmpFilePath = System.getProperty("user.home") + "/work/_temp/keystore/"
Expand Down Expand Up @@ -233,11 +232,6 @@ dependencies {
implementation("androidx.work:work-runtime:2.9.0")
implementation("androidx.work:work-runtime-ktx:2.9.0")
implementation("com.github.Blatzar:NiceHttp:0.4.11") // HTTP Lib

// Baseline Profile and Automation
implementation("androidx.profileinstaller:profileinstaller:1.3.1")
implementation("androidx.test.uiautomator:uiautomator:2.3.0")
"baselineProfile"(project(":baselineprofile"))
}

tasks.register("androidSourcesJar", Jar::class) {
Expand Down
24,268 changes: 0 additions & 24,268 deletions app/src/prereleaseRelease/generated/baselineProfiles/baseline-prof.txt

This file was deleted.

24,268 changes: 0 additions & 24,268 deletions app/src/prereleaseRelease/generated/baselineProfiles/startup-prof.txt

This file was deleted.

1 change: 0 additions & 1 deletion baselineProfile/.gitignore

This file was deleted.

52 changes: 0 additions & 52 deletions baselineProfile/build.gradle.kts

This file was deleted.

1 change: 0 additions & 1 deletion baselineProfile/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

11 changes: 5 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}

dependencies {
classpath("com.android.tools.build:gradle:8.2.2")
classpath("com.android.tools.build:gradle:8.2.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.9.10")

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle.kts files
}
}

Expand All @@ -19,12 +23,7 @@ allprojects {
}

plugins {
// these work only in this order, don't change.
id("com.google.devtools.ksp") version "1.9.22-1.0.16" apply false
id("com.android.test") version "8.2.2" apply false
id("org.jetbrains.kotlin.android") version "1.9.22" apply false
id("androidx.baselineprofile") version "1.2.2" apply false
id("com.android.application") version "8.2.2" apply false
}

tasks.register<Delete>("clean") {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Apr 30 17:11:15 CEST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
11 changes: 1 addition & 10 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}

rootProject.name = "CloudStream"

include(":app")
include(":baselineprofile")
include(":app")