Rename defaultRes module to core

This commit is contained in:
arkon
2020-12-20 12:16:23 -05:00
committed by arkon
parent 7221fb4856
commit 3b3695f97b
9 changed files with 2 additions and 2 deletions

14
core/AndroidManifest.xml Normal file
View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="eu.kanade.tachiyomi.extension">
<uses-feature android:name="tachiyomi.extension" />
<application android:icon="@mipmap/ic_launcher" android:allowBackup="false" android:label="${appName}">
<meta-data android:name="tachiyomi.extension.class" android:value="${extClass}" />
<meta-data android:name="tachiyomi.extension.nsfw" android:value="${nsfw}" />
</application>
</manifest>

24
core/build.gradle.kts Normal file
View File

@ -0,0 +1,24 @@
plugins {
id("com.android.library")
}
android {
compileSdkVersion(Config.compileSdk)
defaultConfig {
minSdkVersion(Config.minSdk)
}
sourceSets {
named("main") {
manifest.srcFile("AndroidManifest.xml")
res.setSrcDirs(listOf("res"))
}
}
libraryVariants.all {
generateBuildConfigProvider?.configure {
enabled = false
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB