Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
Fix package names
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Jan 6, 2024
1 parent fb8b840 commit ebddeab
Show file tree
Hide file tree
Showing 35 changed files with 83 additions and 83 deletions.
2 changes: 1 addition & 1 deletion common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'org.jmailen.kotlinter'
android {
compileSdkVersion AndroidConfig.compileSdk

namespace "eu.kanade.tachiyomi.extension.revived"
namespace "eu.kanade.tachiyomi.revived"
sourceSets {
main {
manifest.srcFile "AndroidManifest.xml"
Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdk = AndroidConfig.minSdk
}

namespace = "eu.kanade.tachiyomi.extension.revived"
namespace = "eu.kanade.tachiyomi.revived"

@Suppress("UnstableApiUsage")
sourceSets {
Expand Down
4 changes: 2 additions & 2 deletions multisrc/src/main/java/generator/ThemeSourceGenerator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ interface ThemeSourceGenerator {
fun createGradleProject(source: ThemeSourceData, themePkg: String, themeClass: String, baseVersionCode: Int, userDir: String) {
// userDir = tachiyomi-extensions project root path
val projectRootPath = "$userDir/generated-src/${pkgNameSuffix(source, "/")}"
val projectSrcPath = "$projectRootPath/src/eu/kanade/tachiyomi/extension/${pkgNameSuffix(source, "/")}"
val projectSrcPath = "$projectRootPath/src/eu/kanade/tachiyomi/revived/${pkgNameSuffix(source, "/")}"
val overridesPath = "$userDir/multisrc/overrides/$themePkg/${source.pkgName}"
val defaultResPath = "$userDir/multisrc/overrides/$themePkg/default/res"
val defaultAndroidManifestPath = "$userDir/multisrc/overrides/$themePkg/default/AndroidManifest.xml"
Expand Down Expand Up @@ -223,7 +223,7 @@ interface ThemeSourceGenerator {
"""
|/* ktlint-disable */
|// THIS FILE IS AUTO-GENERATED; DO NOT EDIT
|package eu.kanade.tachiyomi.extension.${pkgNameSuffix(source, ".")}
|package eu.kanade.tachiyomi.revived.${pkgNameSuffix(source, ".")}
|
|import eu.kanade.tachiyomi.multisrc.$themePkg.$themeClass
|${if (source is ThemeSourceData.MultiLang) "import eu.kanade.tachiyomi.source.SourceFactory" else ""}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.batoto
package eu.kanade.tachiyomi.revived.all.batoto

import android.app.Application
import android.content.SharedPreferences
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.batoto
package eu.kanade.tachiyomi.revived.all.batoto

import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.batoto
package eu.kanade.tachiyomi.revived.all.batoto

import android.app.Activity
import android.content.ActivityNotFoundException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex
package eu.kanade.tachiyomi.revived.all.mangadex

import eu.kanade.tachiyomi.lib.i18n.Intl
import java.text.SimpleDateFormat
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex
package eu.kanade.tachiyomi.revived.all.mangadex

import android.app.Application
import android.content.SharedPreferences
Expand All @@ -10,21 +10,21 @@ import androidx.preference.MultiSelectListPreference
import androidx.preference.PreferenceScreen
import androidx.preference.SwitchPreferenceCompat
import eu.kanade.tachiyomi.AppInfo
import eu.kanade.tachiyomi.extension.all.mangadex.dto.AggregateDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.AggregateVolume
import eu.kanade.tachiyomi.extension.all.mangadex.dto.AtHomeDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ChapterDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ChapterListDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.CoverArtDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.CoverArtListDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ListDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.MangaDataDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.MangaDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.MangaListDto
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.network.asObservable
import eu.kanade.tachiyomi.network.asObservableSuccess
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import eu.kanade.tachiyomi.revived.all.mangadex.dto.AggregateDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.AggregateVolume
import eu.kanade.tachiyomi.revived.all.mangadex.dto.AtHomeDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ChapterDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ChapterListDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.CoverArtDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.CoverArtListDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ListDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.MangaDataDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.MangaDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.MangaListDto
import eu.kanade.tachiyomi.source.ConfigurableSource
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.MangasPage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex
package eu.kanade.tachiyomi.revived.all.mangadex

import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package eu.kanade.tachiyomi.extension.all.mangadex
package eu.kanade.tachiyomi.revived.all.mangadex

import android.content.SharedPreferences
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ContentRatingDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.PublicationDemographicDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.StatusDto
import eu.kanade.tachiyomi.lib.i18n.Intl
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ContentRatingDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.PublicationDemographicDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.StatusDto
import eu.kanade.tachiyomi.source.model.Filter
import eu.kanade.tachiyomi.source.model.FilterList
import okhttp3.HttpUrl
Expand Down
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
package eu.kanade.tachiyomi.extension.all.mangadex
package eu.kanade.tachiyomi.revived.all.mangadex

import android.text.Editable
import android.text.TextWatcher
import android.util.Log
import android.widget.Button
import android.widget.EditText
import eu.kanade.tachiyomi.extension.all.mangadex.dto.AggregateVolume
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ArtistDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.AtHomeDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.AttributesDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.AuthorArtistAttributesDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.AuthorDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ChapterAttributesDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ChapterDataDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ContentRatingDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.CoverArtAttributesDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.CoverArtDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.EntityDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ListAttributesDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ListDataDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.MangaAttributesDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.MangaDataDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ScanlationGroupAttributes
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ScanlationGroupDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.StatusDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.TagAttributesDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.TagDto
import eu.kanade.tachiyomi.extension.all.mangadex.dto.UnknownEntity
import eu.kanade.tachiyomi.extension.all.mangadex.dto.UserAttributes
import eu.kanade.tachiyomi.extension.all.mangadex.dto.UserDto
import eu.kanade.tachiyomi.lib.i18n.Intl
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.revived.all.mangadex.dto.AggregateVolume
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ArtistDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.AtHomeDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.AttributesDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.AuthorArtistAttributesDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.AuthorDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ChapterAttributesDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ChapterDataDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ContentRatingDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.CoverArtAttributesDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.CoverArtDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.EntityDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ListAttributesDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ListDataDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.MangaAttributesDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.MangaDataDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ScanlationGroupAttributes
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ScanlationGroupDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.StatusDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.TagAttributesDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.TagDto
import eu.kanade.tachiyomi.revived.all.mangadex.dto.UnknownEntity
import eu.kanade.tachiyomi.revived.all.mangadex.dto.UserAttributes
import eu.kanade.tachiyomi.revived.all.mangadex.dto.UserDto
import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex
package eu.kanade.tachiyomi.revived.all.mangadex

object MangaDexIntl {
const val BRAZILIAN_PORTUGUESE = "pt-BR"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex
package eu.kanade.tachiyomi.revived.all.mangadex

import android.app.Activity
import android.content.ActivityNotFoundException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package eu.kanade.tachiyomi.extension.all.mangadex
package eu.kanade.tachiyomi.revived.all.mangadex

import android.util.Log
import eu.kanade.tachiyomi.extension.all.mangadex.dto.ImageReportDto
import eu.kanade.tachiyomi.network.POST
import eu.kanade.tachiyomi.revived.all.mangadex.dto.ImageReportDto
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import okhttp3.Call
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex
package eu.kanade.tachiyomi.revived.all.mangadex

import android.content.SharedPreferences
import okhttp3.Interceptor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import eu.kanade.tachiyomi.extension.all.mangadex.MDConstants
import eu.kanade.tachiyomi.revived.all.mangadex.MDConstants
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import eu.kanade.tachiyomi.extension.all.mangadex.MDConstants
import eu.kanade.tachiyomi.revived.all.mangadex.MDConstants
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import eu.kanade.tachiyomi.extension.all.mangadex.MDConstants
import eu.kanade.tachiyomi.revived.all.mangadex.MDConstants
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import eu.kanade.tachiyomi.extension.all.mangadex.MDConstants
import eu.kanade.tachiyomi.revived.all.mangadex.MDConstants
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import eu.kanade.tachiyomi.extension.all.mangadex.MDConstants
import eu.kanade.tachiyomi.revived.all.mangadex.MDConstants
import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import eu.kanade.tachiyomi.extension.all.mangadex.MDConstants
import eu.kanade.tachiyomi.revived.all.mangadex.MDConstants
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package eu.kanade.tachiyomi.extension.all.mangadex.dto
package eu.kanade.tachiyomi.revived.all.mangadex.dto

import eu.kanade.tachiyomi.extension.all.mangadex.MDConstants
import eu.kanade.tachiyomi.revived.all.mangadex.MDConstants
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

Expand Down
4 changes: 2 additions & 2 deletions src/ko/newtoki/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ext {

apply from: "$rootDir/common.gradle"

def domainNumberFileName = "src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/FallbackDomainNumber.kt"
def domainNumberFileName = "src/ko/newtoki/src/eu/kanade/tachiyomi/revived/ko/newtoki/FallbackDomainNumber.kt"
def domainNumberFile = new File(domainNumberFileName)
def backupFile = new File(domainNumberFileName + "_bak")

Expand All @@ -23,7 +23,7 @@ task updateDomainNumber {
domainNumberFile.renameTo(backupFile)
domainNumberFile.withPrintWriter {
it.println("// THIS FILE IS AUTO-GENERATED, DO NOT COMMIT")
it.println("package eu.kanade.tachiyomi.extension.ko.newtoki")
it.println("package eu.kanade.tachiyomi.revived.ko.newtoki")
it.println("const val fallbackDomainNumber = \"$number\"")
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.ko.newtoki
package eu.kanade.tachiyomi.revived.ko.newtoki

import android.util.Log
import eu.kanade.tachiyomi.network.GET
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.ko.newtoki
package eu.kanade.tachiyomi.revived.ko.newtoki

/**
* This value will be automatically overwritten when building the extension.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.ko.newtoki
package eu.kanade.tachiyomi.revived.ko.newtoki

import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.Filter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.ko.newtoki
package eu.kanade.tachiyomi.revived.ko.newtoki

import android.content.SharedPreferences
import android.util.Log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.ko.newtoki
package eu.kanade.tachiyomi.revived.ko.newtoki

import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.Filter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.ko.newtoki
package eu.kanade.tachiyomi.revived.ko.newtoki

import android.app.Application
import android.content.Context
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.ko.newtoki
package eu.kanade.tachiyomi.revived.ko.newtoki

import android.os.Build
import android.os.LocaleList
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.ko.newtoki
package eu.kanade.tachiyomi.revived.ko.newtoki

import eu.kanade.tachiyomi.source.SourceFactory

Expand Down

0 comments on commit ebddeab

Please sign in to comment.