Skip to content

Commit

Permalink
update readme and duplicatesStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
0xZhangKe committed Feb 7, 2024
1 parent 8db110f commit 48ba2b3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,17 @@ So, this property must be a class's variable property or constructor parameter.
The router is passed into this field when the destination object is constructed.

# Release

# 0.2.2
- fixed increase compiler error

## 0.2.1
- upgrade to kotlin 1.9.22

Maybe you need add this code in your module:
```kts
tasks.withType<ProcessResources>{
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
```

Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ kotlin {
}
}

tasks.withType<Jar> { duplicatesStrategy = DuplicatesStrategy.INHERIT }
tasks.withType<Jar> { duplicatesStrategy = DuplicatesStrategy.INCLUDE }

dependencies {
testImplementation("junit:junit:4.+")
Expand Down
4 changes: 2 additions & 2 deletions sample/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kotlin{
}
}

tasks.withType<Jar> { duplicatesStrategy = DuplicatesStrategy.INHERIT }
tasks.withType<Jar> { duplicatesStrategy = DuplicatesStrategy.INCLUDE }

dependencies {
implementation(project(":sample:home"))
Expand All @@ -33,5 +33,5 @@ dependencies {
}

tasks.withType<ProcessResources>{
duplicatesStrategy = DuplicatesStrategy.INHERIT
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
2 changes: 1 addition & 1 deletion sample/home/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

tasks.withType<ProcessResources>{
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

java {
Expand Down
2 changes: 1 addition & 1 deletion sample/profile/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kotlin {
}

tasks.withType<ProcessResources>{
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion sample/setting/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

tasks.withType<ProcessResources>{
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}


Expand Down

0 comments on commit 48ba2b3

Please sign in to comment.