File tree Expand file tree Collapse file tree 7 files changed +93
-13
lines changed Expand file tree Collapse file tree 7 files changed +93
-13
lines changed Original file line number Diff line number Diff line change 19
19
ORG_GRADLE_PROJECT_signingKey : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
20
20
ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
21
21
ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
22
- run : " bash ./gradlew publishReleasePublicationToSonatypeRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }}
22
+ run : " bash ./gradlew publishReleasePublicationToSonatypeRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }}"
23
23
24
24
- name : Wait 1 minute until the artifacts are ready in maven central
25
25
run : sleep 60s
Original file line number Diff line number Diff line change 22
22
ORG_GRADLE_PROJECT_signingKey : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
23
23
ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
24
24
ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
25
- run : " bash ./gradlew publishReleasePublicationToSonatypeRepository -DSNAPSHOT_VERSION=${{ github.event.inputs.snapshotVersion }}
25
+ run : " bash ./gradlew publishReleasePublicationToSonatypeRepository -DSNAPSHOT_VERSION=${{ github.event.inputs.snapshotVersion }}"
Original file line number Diff line number Diff line change 13
13
distribution : ' temurin'
14
14
java-version : ' 11'
15
15
16
- # - name: Assemble
17
- # run: ./gradlew assembleDebug
18
- # - name: Lint
19
- # run: ./gradlew lint
20
- # - name: Unit Tests
21
- # run: ./gradlew test
22
-
23
16
# # Build all our Build Types at once ##
24
17
- name : Build all artifacts
25
18
id : buildAllApks
29
22
wrapper-cache-enabled : false
30
23
dependencies-cache-enabled : false
31
24
configuration-cache-enabled : false
32
- arguments : assembleRelease check detekt
25
+ arguments : assembleRelease check detekt
Original file line number Diff line number Diff line change 1
- # android-nested-scroll-webview
1
+ <p >
2
+ <img src="https://img.shields.io/badge/Platform-Android-brightgreen" />
3
+ <img src="https://maven-badges.herokuapp.com/maven-central/com.telefonica/nestedscrollwebview/badge.png" />
4
+ <img src="https://img.shields.io/badge/Support-%3E%3D%20Android%205.0-brightgreen" />
5
+ </p >
6
+
7
+ # Android Nested Scroll WebView
8
+
9
+ Android WebView implementation for nested scrolling layouts
10
+
11
+ To include the library add to your app's ` build.gradle ` :
12
+
13
+ ``` gradle
14
+ implementation 'com.telefonica:nestedscrollwebview:{version}'
15
+ ```
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
+ buildscript {
3
+ dependencies {
4
+ classpath " io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0"
5
+ }
6
+ }
7
+
2
8
plugins {
3
- id ' com.android.application' version ' 7.2.1 ' apply false
4
- id ' com.android.library' version ' 7.2.1 ' apply false
9
+ id ' com.android.application' version ' 7.2.2 ' apply false
10
+ id ' com.android.library' version ' 7.2.2 ' apply false
5
11
id ' org.jetbrains.kotlin.android' version ' 1.6.10' apply false
12
+ id ' io.gitlab.arturbosch.detekt' version ' 1.18.1'
13
+ }
14
+
15
+ detekt {
16
+ input = files(rootProject. rootDir)
17
+ config = files(" $projectDir /detekt.yml" )
18
+ failFast = true
19
+ buildUponDefaultConfig = true
20
+
21
+ reports {
22
+ html. enabled = true
23
+ xml. enabled = true
24
+ xml. destination = file(" $buildDir /reports/detekt/detekt-checkstyle.xml" )
25
+ html. destination = file(" $buildDir /reports/detekt/detekt-report.html" )
26
+ }
6
27
}
7
28
8
29
task clean (type : Delete ) {
9
30
delete rootProject. buildDir
10
31
}
32
+
33
+ apply plugin : ' io.codearte.nexus-staging'
34
+
35
+ nexusStaging {
36
+ packageGroup = " com.telefonica"
37
+ stagingProfileId = " f7fe7699e57a"
38
+ username = System . getenv(" MOBILE_MAVENCENTRAL_USER" )
39
+ password = System . getenv(" MOBILE_MAVENCENTRAL_PASSWORD" )
40
+ }
41
+
42
+ allprojects {
43
+ group = ' com.telefonica.nestedscrollwebview'
44
+ if (System . getProperty(" SNAPSHOT_VERSION" ) != null ) {
45
+ version = System . getProperty(" SNAPSHOT_VERSION" )+ " -SNAPSHOT"
46
+ } else {
47
+ version = System . getProperty(" LIBRARY_VERSION" ) ?: " undefined"
48
+ }
49
+ }
Original file line number Diff line number Diff line change
1
+ build :
2
+ maxIssues : 0
3
+ weights :
4
+ complexity : 2
5
+ formatting : 1
6
+ LongParameterList : 1
7
+ comments : 1
8
+
9
+ complexity :
10
+ TooManyFunctions :
11
+ active : false
12
+ LongMethod :
13
+ active : false
14
+ LongParameterList :
15
+ active : false
16
+
17
+ empty-blocks :
18
+ EmptyFunctionBlock :
19
+ active : false
20
+ style :
21
+ MagicNumber :
22
+ active : false
23
+ NewLineAtEndOfFile :
24
+ active : false
25
+ UnusedPrivateMember :
26
+ active : false
27
+ WildcardImport :
28
+ active : false
29
+
30
+ exceptions :
31
+ TooGenericExceptionThrown :
32
+ active : false
Original file line number Diff line number Diff line change @@ -34,3 +34,5 @@ dependencies {
34
34
35
35
testImplementation ' junit:junit:4.13.2'
36
36
}
37
+
38
+ apply from : " ${ rootProject.projectDir} /mavencentral.gradle"
You can’t perform that action at this time.
0 commit comments