mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-30 14:45:48 +01:00
fix: move dummy classes to dummy
module (#162)
This commit is contained in:
parent
73b40595c4
commit
fa0ad3a57b
@ -43,5 +43,6 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(project(mapOf("path" to ":dummy")))
|
||||
compileOnly("androidx.annotation:annotation:1.5.0")
|
||||
}
|
||||
|
1
dummy/.gitignore
vendored
Normal file
1
dummy/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/build
|
30
dummy/build.gradle.kts
Normal file
30
dummy/build.gradle.kts
Normal file
@ -0,0 +1,30 @@
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "app.revanced.dummy"
|
||||
compileSdk = 32
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 26
|
||||
targetSdk = 32
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
}
|
21
dummy/proguard-rules.pro
vendored
Normal file
21
dummy/proguard-rules.pro
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
4
dummy/src/main/AndroidManifest.xml
Normal file
4
dummy/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
</manifest>
|
@ -5,7 +5,7 @@ import android.view.ViewGroup;
|
||||
|
||||
/**
|
||||
* "CompileOnly" class
|
||||
* because android.support.constraint.ConstraintLayout is deprecated
|
||||
* because android.support.android.support.constraint.ConstraintLayout is deprecated
|
||||
* in favour of androidx.constraintlayout.widget.ConstraintLayout.
|
||||
*
|
||||
* This class will not be included and "replaced" by the real package's class.
|
@ -7,4 +7,5 @@ dependencyResolutionManagement {
|
||||
}
|
||||
}
|
||||
include(":app")
|
||||
include(":dummy")
|
||||
rootProject.name = "integrations"
|
||||
|
Loadingβ¦
Reference in New Issue
Block a user