File tree Expand file tree Collapse file tree 15 files changed +246
-147
lines changed
Expand file tree Collapse file tree 15 files changed +246
-147
lines changed Original file line number Diff line number Diff line change 1+ ### :tickets : Jira ticket
2+ [ ANDROID-XXXX] ( https://jira.tid.es/browse/ANDROID-XXXX )
3+
4+ ### :goal_net : What's the goal?
5+ _ Provide a description of the overall goal. The description in the Jira ticket may help._
6+
7+ ### :construction : How do we do it?
8+ _ Provide a description of the implementation. A list of steps would be ideal._
9+ * _ Step 1_
10+ * _ Step 2_
11+ * _ Step 3_
12+
13+ ### :white_check_mark : Documentation changes?
14+ - [ ] No docs to update nor create
15+
16+ ### :test_tube : How can I test this?
17+ _ If it cannot be tested explain why._
18+ - [ ] ...
Original file line number Diff line number Diff line change 2020 ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
2121 ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
2222 run : " bash ./gradlew publishReleasePublicationToSonatypeRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }}
23- --max-workers 1 closeAndReleaseStagingRepository "
23+ --max-workers 1 closeAndReleaseStagingRepositories "
Original file line number Diff line number Diff line change 2222 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
2323 ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
2424 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 }}
26+ --max-workers 1 closeAndReleaseStagingRepositories"
Original file line number Diff line number Diff line change 77 - name : Checkout
8899
10- - name : Set up JDK 11
10+ - name : Set up JDK 17
1111 uses : actions/setup-java@v2
1212 with :
1313 distribution : ' temurin'
14- java-version : ' 11 '
14+ java-version : ' 17 '
1515
1616 # # Build all our Build Types at once ##
1717 - name : Build all artifacts
Original file line number Diff line number Diff line change 1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13plugins {
2- id ' com. android.application'
3- id ' org.jetbrains .kotlin.android'
4+ alias(libs . plugins . android. application)
5+ alias(libs . plugins . kotlin. android)
46}
57
68android {
@@ -21,11 +23,13 @@ android {
2123 }
2224 }
2325 compileOptions {
24- sourceCompatibility JavaVersion . VERSION_1_8
25- targetCompatibility JavaVersion . VERSION_1_8
26+ sourceCompatibility JavaVersion . VERSION_17
27+ targetCompatibility JavaVersion . VERSION_17
2628 }
27- kotlinOptions {
28- jvmTarget = ' 1.8'
29+ kotlin {
30+ compilerOptions {
31+ jvmTarget. set(JvmTarget . JVM_17 )
32+ }
2933 }
3034 buildFeatures {
3135 viewBinding true
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3- xmlns : tools =" http://schemas.android.com/tools"
4- package =" com.telefonica.nestedscrollwebviewdemo" >
3+ xmlns : tools =" http://schemas.android.com/tools" >
54
65 <uses-permission android : name =" android.permission.INTERNET" />
76
Original file line number Diff line number Diff line change 1+ import io.gitlab.arturbosch.detekt.Detekt
2+
13// Top-level build file where you can add configuration options common to all sub-projects/modules.
24buildscript {
35 dependencies {
@@ -15,22 +17,27 @@ plugins {
1517 alias(libs. plugins. detekt)
1618}
1719
18- detekt {
19- input = files(rootProject. rootDir)
20- config = files(" $projectDir /detekt.yml" )
20+ tasks. withType(Detekt ). configureEach {
21+ // Files to analyze
22+ setSource(files(rootProject. rootDir))
23+
24+ // Configuration
25+ config. setFrom(files(" $projectDir /detekt.yml" ))
2126 allRules = true
2227 buildUponDefaultConfig = true
2328
2429 reports {
25- html. enabled = true
26- xml. enabled = true
27- xml. destination = file(" $buildDir /reports/detekt/detekt-checkstyle.xml" )
28- html. destination = file(" $buildDir /reports/detekt/detekt-report.html" )
30+ html. required. set(true )
31+ html. outputLocation. set(layout. buildDirectory. file(" reports/detekt/detekt-report.html" ))
32+
33+ xml. required. set(true )
34+ xml. outputLocation. set(layout. buildDirectory. file(" reports/detekt/detekt-checkstyle.xml" ))
2935 }
3036}
3137
32- task clean (type : Delete ) {
33- delete rootProject. buildDir
38+
39+ tasks. register(' clean' , Delete ) {
40+ delete rootProject. layout. buildDirectory
3441}
3542
3643allprojects {
Original file line number Diff line number Diff line change 11[versions ]
2- compileSdk = " 31 "
2+ compileSdk = " 34 "
33minSdk = " 21"
4- targetSdk = " 31 "
4+ targetSdk = " 34 "
55versionCode = " 1"
66versionName = " 1.0"
77agp = " 8.13.1"
88kotlin = " 1.8.0"
9- kotlinAndroid = " 1.6.21 "
9+ kotlinAndroid = " 2.1.20 "
1010nexusStaging = " 0.30.0"
11- nexusPublish = " 1.3 .0"
12- detekt = " 1.22.0 "
11+ nexusPublish = " 2.0 .0"
12+ detekt = " 1.23.8 "
1313material = " 1.6.1"
1414appcompat = " 1.4.2"
1515constraintlayout = " 2.1.4"
Original file line number Diff line number Diff line change 1- # Wed Aug 03 11:27:29 CEST 2022
21distributionBase =GRADLE_USER_HOME
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.13-bin.zip
42distributionPath =wrapper/dists
5- zipStorePath =wrapper/dists
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4+ networkTimeout =10000
5+ validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
7+ zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments