Skip to content

Commit afe1383

Browse files
committed
Remove jcenter references and update detekt (#48)
1 parent b5d84b1 commit afe1383

24 files changed

+308
-148
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3434
### Security
3535
- No security issues fixed!
3636

37+
## [2.4.2] - 2021-10-17
38+
### Changed
39+
- Change detekt rules according to library update to version 1.18.1
40+
### Removed
41+
- Remove `jcenter()` from project.
42+
3743
## [2.4.1] - 2021-09-16
3844
### Fixed
3945
- Fix CDATA strings not parsed correctly
@@ -400,7 +406,8 @@ res_dir_path -> resDirPath
400406
### Added
401407
- Initial release.
402408

403-
[Unreleased]: https://github.com/hyperdevs-team/poeditor-android-gradle-plugin/compare/2.4.1...HEAD
409+
[Unreleased]: https://github.com/hyperdevs-team/poeditor-android-gradle-plugin/compare/2.4.2...HEAD
410+
[2.4.2]: https://github.com/hyperdevs-team/poeditor-android-gradle-plugin/compare/2.4.1...2.4.2
404411
[2.4.1]: https://github.com/hyperdevs-team/poeditor-android-gradle-plugin/compare/2.4.0...2.4.1
405412
[2.4.0]: https://github.com/hyperdevs-team/poeditor-android-gradle-plugin/compare/2.3.0...2.4.0
406413
[2.3.0]: https://github.com/hyperdevs-team/poeditor-android-gradle-plugin/compare/2.2.1...2.3.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ buildscript {
1818
maven { url "https://jitpack.io" }
1919
}
2020
dependencies {
21-
classpath "com.github.hyperdevs-team:poeditor-android-gradle-plugin:2.4.1"
21+
classpath "com.github.hyperdevs-team:poeditor-android-gradle-plugin:<latest_version>"
2222
}
2323
}
2424
```
@@ -33,7 +33,7 @@ buildscript {
3333
maven("https://jitpack.io")
3434
}
3535
dependencies {
36-
classpath("com.github.hyperdevs-team:poeditor-android-gradle-plugin:2.4.1")
36+
classpath("com.github.hyperdevs-team:poeditor-android-gradle-plugin:<latest_version>")
3737
}
3838
}
3939
```

build.gradle.kts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ group = "com.github.hyperdevs-team"
2121
buildscript {
2222
repositories {
2323
mavenCentral()
24-
jcenter()
2524
google().content {
2625
includeGroup("com.android")
2726
includeGroupByRegex("com\\.android\\..*")
@@ -40,12 +39,11 @@ plugins {
4039
`kotlin-dsl`
4140
groovy
4241
maven
43-
id("io.gitlab.arturbosch.detekt").version("1.9.1")
42+
id("io.gitlab.arturbosch.detekt").version("1.18.1")
4443
}
4544

4645
repositories {
4746
mavenCentral()
48-
jcenter()
4947
google().content {
5048
includeGroup("com.android")
5149
includeGroupByRegex("com\\.android\\..*")
@@ -77,7 +75,7 @@ dependencies {
7775
testImplementation(kotlin("test"))
7876
testImplementation("junit:junit:4.13.2")
7977

80-
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.9.1")
78+
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.18.1")
8179
}
8280

8381
java {
@@ -86,8 +84,9 @@ java {
8684
}
8785

8886
detekt {
89-
toolVersion = "1.9.1"
87+
toolVersion = "1.18.1"
9088
config = files("${project.rootDir}/config/detekt.yml")
89+
autoCorrect = true
9190
}
9291

9392
tasks {

0 commit comments

Comments
 (0)