Skip to content

Commit

Permalink
Reorganized project's folders
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzo committed Dec 18, 2023
1 parent 4ffbea1 commit 7900464
Show file tree
Hide file tree
Showing 62 changed files with 13 additions and 18 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ android {
}

dependencies {
"jvmCommonMainImplementation"(projects.demo.lib1)
"jvmCommonMainImplementation"(projects.demo.utils)
"jvmCommonMainImplementation"(projects.demoProject.lib1)
"jvmCommonMainImplementation"(projects.demoProject.utils)

"androidMainImplementation"(projects.demo.lib2)
"androidMainImplementation"(projects.demoProject.lib2)

commonTestImplementation(libs.kotlin.test)
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kotlin {
}

dependencies {
api(projects.demo.utils)
api(projects.demoProject.utils)

testImplementation(libs.kotlin.test)
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android {
}

dependencies {
implementation(projects.demo.lib1)
implementation(projects.demoProject.lib1)

testImplementation(libs.kotlin.test)
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ package io.github.gmazzo.codeowners.compiler

import io.github.gmazzo.codeowners.compiler.BuildConfig.ARG_CODEOWNERS_FILE
import io.github.gmazzo.codeowners.compiler.BuildConfig.ARG_CODEOWNERS_ROOT
import org.jetbrains.kotlin.config.CompilerConfiguration
import io.github.gmazzo.codeowners.compiler.BuildConfig.COMPILER_PLUGIN_ID
import org.jetbrains.kotlin.compiler.plugin.*
import org.jetbrains.kotlin.config.CompilerConfiguration
import java.io.File

internal class CodeOwnersCommandLineProcessor : CommandLineProcessor {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import io.github.gmazzo.codeowners.plugin.BuildConfig
import org.gradle.api.Project
import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.exclude
import org.gradle.kotlin.dsl.withType
import org.gradle.testfixtures.ProjectBuilder
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ dependencyResolutionManagement {
}
}

rootProject.name = "gradle-codeowners-plugin"

include(
"compiler",
"core",
Expand Down
16 changes: 7 additions & 9 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ dependencyResolutionManagement {
}
}

rootProject.name "gradle-codeowners-plugin"

includeBuild("gradle-plugin")
include("demo")
rootProject.name = "gradle-codeowners-plugin"

includeBuild("plugin")
include(
"demo",
"demo:app",
"demo:lib1",
"demo:lib2",
"demo:utils",
"demo-project",
"demo-project:app",
"demo-project:lib1",
"demo-project:lib2",
"demo-project:utils",
)

0 comments on commit 7900464

Please sign in to comment.