File tree Expand file tree Collapse file tree 6 files changed +20
-26
lines changed Expand file tree Collapse file tree 6 files changed +20
-26
lines changed Original file line number Diff line number Diff line change 26
26
- run :
27
27
name : Run Detekt
28
28
command : ./gradlew detekt
29
- - run :
30
- name : Run FindBugs
31
- command : ./gradlew findbugs
32
29
- run :
33
30
name : Run Pmd
34
31
command : ./gradlew pmd
Original file line number Diff line number Diff line change @@ -30,28 +30,11 @@ allprojects {
30
30
}
31
31
apply from : " $rootDir /scripts/detekt.gradle"
32
32
apply from : " $rootDir /scripts/ktlint.gradle"
33
- apply from : " $rootDir /scripts/findbugs.gradle"
34
33
apply from : " $rootDir /scripts/pmd.gradle"
35
34
}
36
35
37
36
subprojects { Project project ->
38
37
if (project. name. startsWith(' mvi' )) {
39
- apply plugin : ' com.jfrog.bintray'
40
- apply plugin : ' maven-publish'
41
38
42
- project. afterEvaluate {
43
- publishing {
44
- repositories {
45
- maven {
46
- def releasesRepoUrl = " https://dl.bintray.com/valueadd-poland/maven"
47
- def snapshotsRepoUrl = " https://dl.bintray.com/valueadd-poland/snapshots"
48
- url = islibraryVersionSnapshot
49
- ? snapshotsRepoUrl
50
- : releasesRepoUrl
51
- println (" Repository url is $url " )
52
- }
53
- }
54
- }
55
- }
56
39
}
57
40
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ext.deps = deps
8
8
* Version variables.
9
9
*/
10
10
def versions = [:]
11
- versions. android_gradle_plugin = " 3.6.1 "
11
+ versions. android_gradle_plugin = " 4.1.0 "
12
12
versions. androidx_appcompat = " 1.0.2"
13
13
versions. androidx_constraint = " 1.1.3"
14
14
versions. androidx_material = " 1.0.0"
@@ -63,7 +63,7 @@ versions.fragmentation = "1.0.1"
63
63
versions. material_progress_bar = " 1.6.1"
64
64
versions. fast_adapter = " 4.0.1"
65
65
versions. mockk = " 1.9.3"
66
- versions. junit5_runner = " 1.3 .2.0"
66
+ versions. junit5_runner = " 1.6 .2.0"
67
67
versions. android_maven = " 1.4.1"
68
68
versions. bintray = " 1.7.3"
69
69
deps. versions = versions
Original file line number Diff line number Diff line change 1
- # Tue Feb 04 09:10:28 CET 2020
1
+ # Tue Oct 20 08:42:56 CEST 2020
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-5.6.4 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.5 -all.zip
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ apply from: 'publish.gradle'
6
6
java {
7
7
sourceCompatibility = JavaVersion . VERSION_1_8
8
8
targetCompatibility = JavaVersion . VERSION_1_8
9
+ withSourcesJar()
9
10
}
10
11
11
12
// Dependencies configuration
Original file line number Diff line number Diff line change 1
1
apply from : " $rootDir /scripts/versioning.gradle"
2
+ apply plugin : ' com.jfrog.bintray'
3
+ apply plugin : ' maven-publish'
4
+
5
+ project. afterEvaluate {
6
+ publishing {
7
+ repositories {
8
+ maven {
9
+ def releasesRepoUrl = " https://dl.bintray.com/valueadd/android"
10
+ println (" Repository url is $releasesRepoUrl " )
11
+ }
12
+ }
13
+ }
14
+ }
2
15
3
16
ext {
4
17
publishedGroupId = ' pl.valueadd'
@@ -29,12 +42,12 @@ bintray {
29
42
key = properties. getProperty(" bintray.apikey" )
30
43
31
44
pkg {
32
- repo = islibraryVersionSnapshot ? ' snapshots ' : ' maven '
45
+ repo = ' android '
33
46
desc = libraryDescription
34
47
websiteUrl = siteUrl
35
48
vcsUrl = gitUrl
36
49
licenses = allLicenses
37
- dryRun = false
50
+ dryRun = islibraryVersionSnapshot /* DRY RUN */
38
51
publish = true
39
52
override = true
40
53
publicDownloadNumbers = true
You can’t perform that action at this time.
0 commit comments