Skip to content

Commit

Permalink
Change coordinates (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
illarionov authored Apr 15, 2024
1 parent f067bf0 commit a221b83
Show file tree
Hide file tree
Showing 32 changed files with 26 additions and 31 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pluginManagement {
maven {
url = uri("https://maven.pixnews.ru")
mavenContent {
includeGroupByRegex("""ru\.pixnews\.anvil\..+""")
includeGroup("ru.pixnews.anvil.codegen")
}
}
}
Expand Down Expand Up @@ -56,8 +56,8 @@ Add the required dependencies

```kotlin
dependencies {
anvil("ru.pixnews.anvil.codegen.activity:generator:0.3")
api("ru.pixnews.anvil.codegen.activity:inject:0.3")
anvil("ru.pixnews.anvil.codegen:activity-generator:0.3")
api("ru.pixnews.anvil.codegen:activity-inject:0.3")
}
```

Expand Down Expand Up @@ -168,8 +168,8 @@ Add the required dependencies:

```kotlin
dependencies {
anvil("ru.pixnews.anvil.codegen.viewmodel:generator:0.3")
api("ru.pixnews.anvil.codegen.viewmodel:inject:0.3")
anvil("ru.pixnews.anvil.codegen:viewmodel-generator:0.3")
api("ru.pixnews.anvil.codegen:viewmodel-inject:0.3")
}
```

Expand Down Expand Up @@ -324,8 +324,8 @@ Add the required dependencies:

```kotlin
dependencies {
anvil("ru.pixnews.anvil.codegen.workmanager:generator:0.3")
api("ru.pixnews.anvil.codegen.workmanager:inject:0.3")
anvil("ru.pixnews.anvil.codegen:workmanager-generator:0.3")
api("ru.pixnews.anvil.codegen:workmanager-inject:0.3")
}
```

Expand Down Expand Up @@ -483,8 +483,8 @@ Add the required dependencies:

```kotlin
dependencies {
anvil("ru.pixnews.anvil.codegen.test:generator:0.3")
api("ru.pixnews.anvil.codegen.test:inject:0.3")
anvil("ru.pixnews.anvil.codegen:test-generator:0.3")
api("ru.pixnews.anvil.codegen:test-inject:0.3")
}
```

Expand Down Expand Up @@ -592,8 +592,8 @@ Add the required dependencies:

```kotlin
dependencies {
anvil("ru.pixnews.anvil.codegen.experiment:generator:0.3")
api("ru.pixnews.anvil.codegen.experiment:inject:0.3")
anvil("ru.pixnews.anvil.codegen:experiment-generator:0.3")
api("ru.pixnews.anvil.codegen:experiment-inject:0.3")
}
```

Expand Down Expand Up @@ -673,8 +673,8 @@ Add the required dependencies:

```kotlin
dependencies {
anvil("ru.pixnews.anvil.codegen.initializer:generator:0.3")
api("ru.pixnews.anvil.codegen.initializer:inject:0.3")
anvil("ru.pixnews.anvil.codegen:initializer-generator:0.3")
api("ru.pixnews.anvil.codegen:initializer-inject:0.3")
}
```

Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion activity/generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.publish")
}

group = "ru.pixnews.anvil.codegen.activity"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_activity_generator_version",
envVariableName = "ANVIL_CODEGEN_ACTIVITY_GENERATOR_VERSION",
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion activity/inject/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.publish")
}

group = "ru.pixnews.anvil.codegen.activity"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_activity_inject_version",
envVariableName = "ANVIL_CODEGEN_ACTIVITY_INJECT_VERSION",
Expand Down
1 change: 0 additions & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.test")
}

group = "ru.pixnews.anvil.codegen"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_common_version",
envVariableName = "ANVIL_CODEGEN_COMMON_VERSION",
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion experiment/generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.publish")
}

group = "ru.pixnews.anvil.codegen.experiment"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_experiment_generator_version",
envVariableName = "ANVIL_CODEGEN_EXPERIMENT_GENERATOR_VERSION",
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion experiment/inject/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.test")
}

group = "ru.pixnews.anvil.codegen.experiment"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_experiment_inject_version",
envVariableName = "ANVIL_CODEGEN_EXPERIMENT_INJECT_VERSION",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion fragment/generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.generator")
}

group = "ru.pixnews.anvil.codegen.fragment"
group = "ru.pixnews.anvil.codegen"
version = "0.1-WIP"
File renamed without changes.
2 changes: 1 addition & 1 deletion fragment/inject/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.binary.compatibility.validator")
}

group = "ru.pixnews.anvil.codegen.fragment"
group = "ru.pixnews.anvil.codegen"
version = "0.1-WIP"

android {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ plugins {
id("com.vanniktech.maven.publish.base")
}

group = "ru.pixnews.anvil.codegen"

createAnvilCodegenVersionsExtension()

tasks.withType<AbstractArchiveTask>().configureEach {
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion initializer/generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.publish")
}

group = "ru.pixnews.anvil.codegen.initializer"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_initializer_generator_version",
envVariableName = "ANVIL_CODEGEN_INITIALIZER_GENERATOR_VERSION",
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion initializer/inject/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.test")
}

group = "ru.pixnews.anvil.codegen.initializer"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_initializer_inject_version",
envVariableName = "ANVIL_CODEGEN_INITIALIZER_INJECT_VERSION",
Expand Down
12 changes: 9 additions & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ listOf(
"test",
"viewmodel",
"workmanager",
).forEach {
include("$it:generator")
include("$it:inject")
).forEach { subproject ->
"$subproject-generator".let {
include(it)
project(":$it").projectDir = file("$subproject/generator")
}
"$subproject-inject".let {
include(it)
project(":$it").projectDir = file("$subproject/inject")
}
}
File renamed without changes.
1 change: 0 additions & 1 deletion test/generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.publish")
}

group = "ru.pixnews.anvil.codegen.test"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_test_generator_version",
envVariableName = "ANVIL_CODEGEN_TEST_GENERATOR_VERSION",
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion test/inject/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.test")
}

group = "ru.pixnews.anvil.codegen.test"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_test_inject_version",
envVariableName = "ANVIL_CODEGEN_TEST_INJECT_VERSION",
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion viewmodel/generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.publish")
}

group = "ru.pixnews.anvil.codegen.viewmodel"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_viewmodel_generator_version",
envVariableName = "ANVIL_CODEGEN_VIEWMODEL_GENERATOR_VERSION",
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion viewmodel/inject/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.publish")
}

group = "ru.pixnews.anvil.codegen.viewmodel"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_viewmodel_inject_version",
envVariableName = "ANVIL_CODEGEN_VIEWMODEL_INJECT_VERSION",
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion workmanager/generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.publish")
}

group = "ru.pixnews.anvil.codegen.workmanager"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_workmanager_generator_version",
envVariableName = "ANVIL_CODEGEN_WORKMANAGER_GENERATOR_VERSION",
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion workmanager/inject/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {
id("ru.pixnews.anvil.codegen.build-logic.project.publish")
}

group = "ru.pixnews.anvil.codegen.workmanager"
version = anvilCodegenVersions.getSubmoduleVersionProvider(
propertiesFileKey = "anvil_codegen_workmanager_generator_version",
envVariableName = "ANVIL_CODEGEN_WORKMANAGER_GENERATOR_VERSION",
Expand Down

0 comments on commit a221b83

Please sign in to comment.