mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-12-10 23:33:42 +08:00
chore: migrate to version catalog, Gropify
This commit is contained in:
@@ -5,12 +5,12 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
autowire(libs.plugins.android.application) apply false
|
alias(libs.plugins.android.application) apply false
|
||||||
autowire(libs.plugins.android.library) apply false
|
alias(libs.plugins.android.library) apply false
|
||||||
autowire(libs.plugins.kotlin.jvm) apply false
|
alias(libs.plugins.kotlin.jvm) apply false
|
||||||
autowire(libs.plugins.kotlin.android) apply false
|
alias(libs.plugins.kotlin.android) apply false
|
||||||
autowire(libs.plugins.kotlin.dokka) apply false
|
alias(libs.plugins.kotlin.dokka) apply false
|
||||||
autowire(libs.plugins.maven.publish) apply false
|
alias(libs.plugins.maven.publish) apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
libraryProjects {
|
libraryProjects {
|
||||||
|
|||||||
68
gradle/libs.versions.toml
Normal file
68
gradle/libs.versions.toml
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
[versions]
|
||||||
|
agp = "8.13.1"
|
||||||
|
kotlin = "2.2.21"
|
||||||
|
# noinspection NewerVersionAvailable
|
||||||
|
dokka = "1.9.20"
|
||||||
|
ksp = "2.2.21-2.0.4"
|
||||||
|
maven-publish = "0.35.0"
|
||||||
|
rovo89-xposed-api = "82"
|
||||||
|
hiddenapibypass = "6.1"
|
||||||
|
auto-service-annotations = "1.1.1"
|
||||||
|
auto-service-ksp = "1.2.0"
|
||||||
|
kavaref-core = "1.0.2"
|
||||||
|
kavaref-extension = "1.0.1"
|
||||||
|
hikage-core = "1.0.2"
|
||||||
|
hikage-compiler = "1.0.1"
|
||||||
|
hikage-extension = "1.0.1"
|
||||||
|
hikage-widget-androidx = "1.0.1"
|
||||||
|
hikage-widget-material = "1.0.1"
|
||||||
|
betterandroid-ui-component = "1.0.8"
|
||||||
|
betterandroid-ui-extension = "1.0.7"
|
||||||
|
betterandroid-system-extension = "1.0.3"
|
||||||
|
androidx-annotation = "1.9.1"
|
||||||
|
androidx-preference-ktx = "1.2.1"
|
||||||
|
androidx-core-ktx = "1.17.0"
|
||||||
|
androidx-appcompat = "1.7.1"
|
||||||
|
androidx-lifecycle-viewmodel-ktx = "2.9.4"
|
||||||
|
# noinspection GradleDependency
|
||||||
|
material = "1.11.0"
|
||||||
|
androidx-constraintlayout = "2.2.1"
|
||||||
|
junit = "4.13.2"
|
||||||
|
androidx-test-ext-junit = "1.3.0"
|
||||||
|
androidx-test-espresso-core = "3.7.0"
|
||||||
|
|
||||||
|
[plugins]
|
||||||
|
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
||||||
|
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
||||||
|
kotlin-dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
|
||||||
|
kotlin-ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
||||||
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
||||||
|
android-library = { id = "com.android.library", version.ref = "agp" }
|
||||||
|
maven-publish = { id = "com.vanniktech.maven.publish", version.ref = "maven-publish" }
|
||||||
|
|
||||||
|
[libraries]
|
||||||
|
rovo89-xposed-api = { module = "de.robv.android.xposed:api", version.ref = "rovo89-xposed-api" }
|
||||||
|
hiddenapibypass = { module = "org.lsposed.hiddenapibypass:hiddenapibypass", version.ref = "hiddenapibypass" }
|
||||||
|
symbol-processing-api = { module = "com.google.devtools.ksp:symbol-processing-api", version.ref = "ksp" }
|
||||||
|
auto-service-annotations = { module = "com.google.auto.service:auto-service-annotations", version.ref = "auto-service-annotations" }
|
||||||
|
auto-service-ksp = { module = "dev.zacsweers.autoservice:auto-service-ksp", version.ref = "auto-service-ksp" }
|
||||||
|
kavaref-core = { module = "com.highcapable.kavaref:kavaref-core", version.ref = "kavaref-core" }
|
||||||
|
kavaref-extension = { module = "com.highcapable.kavaref:kavaref-extension", version.ref = "kavaref-extension" }
|
||||||
|
hikage-core = { module = "com.highcapable.hikage:hikage-core", version.ref = "hikage-core" }
|
||||||
|
hikage-compiler = { module = "com.highcapable.hikage:hikage-compiler", version.ref = "hikage-compiler" }
|
||||||
|
hikage-extension = { module = "com.highcapable.hikage:hikage-extension", version.ref = "hikage-extension" }
|
||||||
|
hikage-widget-androidx = { module = "com.highcapable.hikage:hikage-widget-androidx", version.ref = "hikage-widget-androidx" }
|
||||||
|
hikage-widget-material = { module = "com.highcapable.hikage:hikage-widget-material", version.ref = "hikage-widget-material" }
|
||||||
|
betterandroid-ui-component = { module = "com.highcapable.betterandroid:ui-component", version.ref = "betterandroid-ui-component" }
|
||||||
|
betterandroid-ui-extension = { module = "com.highcapable.betterandroid:ui-extension", version.ref = "betterandroid-ui-extension" }
|
||||||
|
betterandroid-system-extension = { module = "com.highcapable.betterandroid:system-extension", version.ref = "betterandroid-system-extension" }
|
||||||
|
androidx-annotation = { module = "androidx.annotation:annotation", version.ref = "androidx-annotation" }
|
||||||
|
androidx-preference-ktx = { module = "androidx.preference:preference-ktx", version.ref = "androidx-preference-ktx" }
|
||||||
|
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core-ktx" }
|
||||||
|
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }
|
||||||
|
androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle-viewmodel-ktx" }
|
||||||
|
material = { module = "com.google.android.material:material", version.ref = "material" }
|
||||||
|
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "androidx-constraintlayout" }
|
||||||
|
junit = { module = "junit:junit", version.ref = "junit" }
|
||||||
|
androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-ext-junit" }
|
||||||
|
androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-test-espresso-core" }
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
preferences:
|
|
||||||
autowire-on-sync-mode: UPDATE_OPTIONAL_DEPENDENCIES
|
|
||||||
repositories-mode: FAIL_ON_PROJECT_REPOS
|
|
||||||
|
|
||||||
repositories:
|
|
||||||
gradle-plugin-portal:
|
|
||||||
scope: PLUGINS
|
|
||||||
google:
|
|
||||||
maven-central:
|
|
||||||
jit-pack:
|
|
||||||
rovo89-xposed-api:
|
|
||||||
scope: LIBRARIES
|
|
||||||
url: https://api.xposed.info/
|
|
||||||
content:
|
|
||||||
include:
|
|
||||||
group:
|
|
||||||
de.robv.android.xposed
|
|
||||||
|
|
||||||
plugins:
|
|
||||||
org.jetbrains.kotlin.jvm:
|
|
||||||
alias: kotlin-jvm
|
|
||||||
version: 2.2.10
|
|
||||||
org.jetbrains.kotlin.android:
|
|
||||||
alias: kotlin-android
|
|
||||||
version-ref: kotlin-jvm
|
|
||||||
org.jetbrains.dokka:
|
|
||||||
alias: kotlin-dokka
|
|
||||||
version: 1.9.20
|
|
||||||
auto-update: false
|
|
||||||
com.android.application:
|
|
||||||
alias: android-application
|
|
||||||
version: 8.13.0
|
|
||||||
com.android.library:
|
|
||||||
alias: android-library
|
|
||||||
version-ref: android-application
|
|
||||||
com.vanniktech.maven.publish:
|
|
||||||
alias: maven-publish
|
|
||||||
version: 0.34.0
|
|
||||||
|
|
||||||
libraries:
|
|
||||||
de.robv.android.xposed:
|
|
||||||
api:
|
|
||||||
version: 82
|
|
||||||
repositories:
|
|
||||||
rovo89-xposed-api
|
|
||||||
org.lsposed.hiddenapibypass:
|
|
||||||
hiddenapibypass:
|
|
||||||
version: 6.1
|
|
||||||
com.highcapable.kavaref:
|
|
||||||
kavaref-core:
|
|
||||||
version: 1.0.1
|
|
||||||
kavaref-extension:
|
|
||||||
version: 1.0.1
|
|
||||||
com.highcapable.hikage:
|
|
||||||
hikage-core:
|
|
||||||
version: 1.0.2
|
|
||||||
hikage-compiler:
|
|
||||||
version: 1.0.1
|
|
||||||
hikage-extension:
|
|
||||||
version: 1.0.1
|
|
||||||
hikage-widget-androidx:
|
|
||||||
version: 1.0.1
|
|
||||||
hikage-widget-material:
|
|
||||||
version: 1.0.1
|
|
||||||
com.highcapable.betterandroid:
|
|
||||||
ui-component:
|
|
||||||
version: 1.0.8
|
|
||||||
ui-extension:
|
|
||||||
version: 1.0.7
|
|
||||||
system-extension:
|
|
||||||
version: 1.0.3
|
|
||||||
androidx.core:
|
|
||||||
core-ktx:
|
|
||||||
version: 1.17.0
|
|
||||||
androidx.appcompat:
|
|
||||||
appcompat:
|
|
||||||
version: 1.7.1
|
|
||||||
com.google.android.material:
|
|
||||||
material:
|
|
||||||
version: 1.11.0
|
|
||||||
auto-update: false
|
|
||||||
androidx.test.ext:
|
|
||||||
junit:
|
|
||||||
version: 1.3.0
|
|
||||||
androidx.test.espresso:
|
|
||||||
espresso-core:
|
|
||||||
version: 3.7.0
|
|
||||||
junit:
|
|
||||||
junit:
|
|
||||||
version: 4.13.2
|
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
plugins {
|
plugins {
|
||||||
autowire(libs.plugins.android.application)
|
alias(libs.plugins.android.application)
|
||||||
autowire(libs.plugins.kotlin.android)
|
alias(libs.plugins.kotlin.android)
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = property.project.samples.app.packageName
|
namespace = gropify.project.samples.app.packageName
|
||||||
compileSdk = property.project.android.compileSdk
|
compileSdk = gropify.project.android.compileSdk
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = property.project.samples.app.packageName
|
applicationId = gropify.project.samples.app.packageName
|
||||||
minSdk = property.project.android.minSdk
|
minSdk = gropify.project.android.minSdk
|
||||||
targetSdk = property.project.android.targetSdk
|
targetSdk = gropify.project.android.targetSdk
|
||||||
versionCode = property.project.samples.app.versionCode
|
versionCode = gropify.project.samples.app.versionCode
|
||||||
versionName = property.project.samples.app.versionName
|
versionName = gropify.project.samples.app.versionName
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -39,11 +39,11 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(androidx.core.core.ktx)
|
implementation(libs.androidx.core.ktx)
|
||||||
implementation(androidx.appcompat.appcompat)
|
implementation(libs.androidx.appcompat)
|
||||||
implementation(com.google.android.material.material)
|
implementation(libs.material)
|
||||||
|
|
||||||
testImplementation(junit.junit)
|
testImplementation(libs.junit)
|
||||||
androidTestImplementation(androidx.test.ext.junit)
|
androidTestImplementation(libs.androidx.test.ext.junit)
|
||||||
androidTestImplementation(androidx.test.espresso.espresso.core)
|
androidTestImplementation(libs.androidx.test.espresso.core)
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
plugins {
|
plugins {
|
||||||
autowire(libs.plugins.android.application)
|
alias(libs.plugins.android.application)
|
||||||
autowire(libs.plugins.kotlin.android)
|
alias(libs.plugins.kotlin.android)
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = property.project.samples.module.packageName
|
namespace = gropify.project.samples.module.packageName
|
||||||
compileSdk = property.project.android.compileSdk
|
compileSdk = gropify.project.android.compileSdk
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = property.project.samples.module.packageName
|
applicationId = gropify.project.samples.module.packageName
|
||||||
minSdk = property.project.android.minSdk
|
minSdk = gropify.project.android.minSdk
|
||||||
targetSdk = property.project.android.targetSdk
|
targetSdk = gropify.project.android.targetSdk
|
||||||
versionCode = property.project.samples.module.versionCode
|
versionCode = gropify.project.samples.module.versionCode
|
||||||
versionName = property.project.samples.module.versionName
|
versionName = gropify.project.samples.module.versionName
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -39,11 +39,11 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(androidx.core.core.ktx)
|
implementation(libs.androidx.core.ktx)
|
||||||
implementation(androidx.appcompat.appcompat)
|
implementation(libs.androidx.appcompat)
|
||||||
implementation(com.google.android.material.material)
|
implementation(libs.material)
|
||||||
|
|
||||||
testImplementation(junit.junit)
|
testImplementation(libs.junit)
|
||||||
androidTestImplementation(androidx.test.ext.junit)
|
androidTestImplementation(libs.androidx.test.ext.junit)
|
||||||
androidTestImplementation(androidx.test.espresso.espresso.core)
|
androidTestImplementation(libs.androidx.test.espresso.core)
|
||||||
}
|
}
|
||||||
@@ -8,20 +8,39 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
dependencyResolutionManagement {
|
||||||
id("com.highcapable.sweetdependency") version "1.0.4"
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||||
id("com.highcapable.sweetproperty") version "1.0.8"
|
repositories {
|
||||||
|
google()
|
||||||
|
mavenCentral()
|
||||||
|
maven("https://jitpack.io")
|
||||||
|
maven("https://api.xposed.info/")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sweetProperty {
|
plugins {
|
||||||
|
id("com.highcapable.gropify") version "1.0.0"
|
||||||
|
}
|
||||||
|
|
||||||
|
gropify {
|
||||||
global {
|
global {
|
||||||
sourcesCode {
|
android {
|
||||||
includeKeys("^project\\..*\$".toRegex())
|
includeKeys("^project\\..*\$".toRegex())
|
||||||
isEnableRestrictedAccess = true
|
isRestrictedAccessEnabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
rootProject {
|
||||||
|
common {
|
||||||
|
isEnabled = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
projects(":samples:app", ":samples:module") {
|
||||||
|
android {
|
||||||
|
isEnabled = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rootProject { all { isEnable = false } }
|
|
||||||
project(":samples:app", ":samples:module") { sourcesCode { isEnable = false } }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "YukiHook"
|
rootProject.name = "YukiHook"
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
plugins {
|
plugins {
|
||||||
autowire(libs.plugins.android.library)
|
alias(libs.plugins.android.library)
|
||||||
autowire(libs.plugins.kotlin.android)
|
alias(libs.plugins.kotlin.android)
|
||||||
autowire(libs.plugins.kotlin.dokka)
|
alias(libs.plugins.kotlin.dokka)
|
||||||
autowire(libs.plugins.maven.publish)
|
alias(libs.plugins.maven.publish)
|
||||||
}
|
}
|
||||||
|
|
||||||
group = property.project.groupName
|
group = gropify.project.groupName
|
||||||
version = property.project.yukihook.api.helper.version
|
version = gropify.project.yukihook.api.helper.version
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = property.project.yukihook.api.helper.namespace
|
namespace = gropify.project.yukihook.api.helper.namespace
|
||||||
compileSdk = property.project.android.compileSdk
|
compileSdk = gropify.project.android.compileSdk
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = property.project.android.minSdk
|
minSdk = gropify.project.android.minSdk
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
consumerProguardFiles("consumer-rules.pro")
|
consumerProguardFiles("consumer-rules.pro")
|
||||||
@@ -39,10 +39,10 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(androidx.core.core.ktx)
|
implementation(libs.androidx.core.ktx)
|
||||||
implementation(androidx.appcompat.appcompat)
|
implementation(libs.androidx.appcompat)
|
||||||
|
|
||||||
testImplementation(junit.junit)
|
testImplementation(libs.junit)
|
||||||
androidTestImplementation(androidx.test.ext.junit)
|
androidTestImplementation(libs.androidx.test.ext.junit)
|
||||||
androidTestImplementation(androidx.test.espresso.espresso.core)
|
androidTestImplementation(libs.androidx.test.espresso.core)
|
||||||
}
|
}
|
||||||
@@ -1,19 +1,19 @@
|
|||||||
plugins {
|
plugins {
|
||||||
autowire(libs.plugins.android.library)
|
alias(libs.plugins.android.library)
|
||||||
autowire(libs.plugins.kotlin.android)
|
alias(libs.plugins.kotlin.android)
|
||||||
autowire(libs.plugins.kotlin.dokka)
|
alias(libs.plugins.kotlin.dokka)
|
||||||
autowire(libs.plugins.maven.publish)
|
alias(libs.plugins.maven.publish)
|
||||||
}
|
}
|
||||||
|
|
||||||
group = property.project.groupName
|
group = gropify.project.groupName
|
||||||
version = property.project.yukihook.api.libxposed.version
|
version = gropify.project.yukihook.api.libxposed.version
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = property.project.yukihook.api.libxposed.namespace
|
namespace = gropify.project.yukihook.api.libxposed.namespace
|
||||||
compileSdk = property.project.android.compileSdk
|
compileSdk = gropify.project.android.compileSdk
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = property.project.android.minSdk
|
minSdk = gropify.project.android.minSdk
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
consumerProguardFiles("consumer-rules.pro")
|
consumerProguardFiles("consumer-rules.pro")
|
||||||
@@ -39,10 +39,10 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(androidx.core.core.ktx)
|
implementation(libs.androidx.core.ktx)
|
||||||
implementation(androidx.appcompat.appcompat)
|
implementation(libs.androidx.appcompat)
|
||||||
|
|
||||||
testImplementation(junit.junit)
|
testImplementation(libs.junit)
|
||||||
androidTestImplementation(androidx.test.ext.junit)
|
androidTestImplementation(libs.androidx.test.ext.junit)
|
||||||
androidTestImplementation(androidx.test.espresso.espresso.core)
|
androidTestImplementation(libs.androidx.test.espresso.core)
|
||||||
}
|
}
|
||||||
@@ -1,19 +1,19 @@
|
|||||||
plugins {
|
plugins {
|
||||||
autowire(libs.plugins.android.library)
|
alias(libs.plugins.android.library)
|
||||||
autowire(libs.plugins.kotlin.android)
|
alias(libs.plugins.kotlin.android)
|
||||||
autowire(libs.plugins.kotlin.dokka)
|
alias(libs.plugins.kotlin.dokka)
|
||||||
autowire(libs.plugins.maven.publish)
|
alias(libs.plugins.maven.publish)
|
||||||
}
|
}
|
||||||
|
|
||||||
group = property.project.groupName
|
group = gropify.project.groupName
|
||||||
version = property.project.yukihook.api.rovo89.version
|
version = gropify.project.yukihook.api.rovo89.version
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = property.project.yukihook.api.rovo89.namespace
|
namespace = gropify.project.yukihook.api.rovo89.namespace
|
||||||
compileSdk = property.project.android.compileSdk
|
compileSdk = gropify.project.android.compileSdk
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = property.project.android.minSdk
|
minSdk = gropify.project.android.minSdk
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
consumerProguardFiles("consumer-rules.pro")
|
consumerProguardFiles("consumer-rules.pro")
|
||||||
@@ -39,12 +39,12 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnlyApi(de.robv.android.xposed.api)
|
compileOnlyApi(libs.rovo89.xposed.api)
|
||||||
|
|
||||||
implementation(androidx.core.core.ktx)
|
implementation(libs.androidx.core.ktx)
|
||||||
implementation(androidx.appcompat.appcompat)
|
implementation(libs.androidx.appcompat)
|
||||||
|
|
||||||
testImplementation(junit.junit)
|
testImplementation(libs.junit)
|
||||||
androidTestImplementation(androidx.test.ext.junit)
|
androidTestImplementation(libs.androidx.test.ext.junit)
|
||||||
androidTestImplementation(androidx.test.espresso.espresso.core)
|
androidTestImplementation(libs.androidx.test.espresso.core)
|
||||||
}
|
}
|
||||||
@@ -1,19 +1,19 @@
|
|||||||
plugins {
|
plugins {
|
||||||
autowire(libs.plugins.android.library)
|
alias(libs.plugins.android.library)
|
||||||
autowire(libs.plugins.kotlin.android)
|
alias(libs.plugins.kotlin.android)
|
||||||
autowire(libs.plugins.kotlin.dokka)
|
alias(libs.plugins.kotlin.dokka)
|
||||||
autowire(libs.plugins.maven.publish)
|
alias(libs.plugins.maven.publish)
|
||||||
}
|
}
|
||||||
|
|
||||||
group = property.project.groupName
|
group = gropify.project.groupName
|
||||||
version = property.project.yukihook.core.version
|
version = gropify.project.yukihook.core.version
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = property.project.yukihook.core.namespace
|
namespace = gropify.project.yukihook.core.namespace
|
||||||
compileSdk = property.project.android.compileSdk
|
compileSdk = gropify.project.android.compileSdk
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = property.project.android.minSdk
|
minSdk = gropify.project.android.minSdk
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
consumerProguardFiles("consumer-rules.pro")
|
consumerProguardFiles("consumer-rules.pro")
|
||||||
@@ -39,10 +39,10 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(androidx.core.core.ktx)
|
implementation(libs.androidx.core.ktx)
|
||||||
implementation(androidx.appcompat.appcompat)
|
implementation(libs.androidx.appcompat)
|
||||||
|
|
||||||
testImplementation(junit.junit)
|
testImplementation(libs.junit)
|
||||||
androidTestImplementation(androidx.test.ext.junit)
|
androidTestImplementation(libs.androidx.test.ext.junit)
|
||||||
androidTestImplementation(androidx.test.espresso.espresso.core)
|
androidTestImplementation(libs.androidx.test.espresso.core)
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user