Skip to content

Commit 437236b

Browse files
fix gradle
1 parent ee89dff commit 437236b

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

data/api/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ android {
1212

1313
dependencies {
1414

15-
api(project(":domain:entity"))
15+
implementation(project(":domain:entity"))
1616

1717
// Hilt
1818
val hiltVersion = "2.41"

data/repository/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ android {
1212

1313
dependencies {
1414

15-
api(project(":data:api"))
16-
api(project(":domain:repository"))
15+
implementation(project(":data:api"))
16+
implementation(project(":domain:repository"))
1717

1818
// Hilt
1919
val hiltVersion = "2.41"

gradle/projectDependencyGraph.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ task projectDependencyGraph {
55
dot.delete()
66

77
dot << 'digraph {\n'
8-
dot << " graph [label=\"${rootProject.name}\\n \",labelloc=t,fontsize=30,ranksep=1.4];\n"
8+
dot << " graph [label=\"${rootProject.name}\n \",labelloc=t,fontsize=30,ranksep=1.4];\n"
99
dot << ' node [style=filled, fillcolor="#bbbbbb"];\n'
1010
dot << ' rankdir=TB;\n'
1111

@@ -32,7 +32,7 @@ task projectDependencyGraph {
3232
if (project.plugins.hasPlugin('org.jetbrains.kotlin.multiplatform')) {
3333
multiplatformProjects.add(project)
3434
}
35-
if (project.plugins.hasPlugin('org.jetbrains.kotlin.js')) {
35+
if (project.plugins.hasPlugin('kotlin2js')) {
3636
jsProjects.add(project)
3737
}
3838
if (project.plugins.hasPlugin('com.android.library') || project.plugins.hasPlugin('com.android.application')) {
@@ -114,3 +114,4 @@ task projectDependencyGraph {
114114
println("Project module dependency graph created at ${dot.absolutePath}.png")
115115
}
116116
}
117+

0 commit comments

Comments
 (0)