File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,23 +89,22 @@ class ThemesExtension {
8989 closure. delegate = this
9090 closure()
9191 def flavourName = flavour. name. capitalize()
92- path = project. layout. buildDirectory. dir(" / generated/res/themed/${ flavourName} " ). get()
92+ path = project. layout. buildDirectory. dir(" generated/res/themed/${ flavourName} " ). get()
9393 def generateColorsTask = project. tasks. register(" generate${ flavourName} Themes" , GenerateColors ) {
9494 outputFile project. file(" ${ this.path} /values/colors.xml" )
9595 colorsMap this . colorsMap
9696 }
97- if (project. file(" / themed/drawable" ). exists()) {
97+ if (project. file(" themed/drawable" ). exists()) {
9898 generateTask = project. tasks. register(" generate${ flavourName} ThemedVectorDrawables" , GenerateThemedVectorDrawable ) {
99- inputDir = project. file(" / themed/drawable" )
99+ inputDir = project. file(" themed/drawable" )
100100 outputDir = project. file(" ${ this.path} /drawable" )
101101 colorsMapVector this . colorsMapVector
102102 dependsOn(generateColorsTask)
103103 }
104104 }
105-
106- if (project. file(" /themed/mipmap" ). exists()) {
105+ if (project. file(" themed/mipmap" ). exists()) {
107106 generateTask = project. tasks. register(" generate${ flavourName} ThemedMipmaps" , GenerateThemedMipmapsVectorDrawable ) {
108- inputDir = project. file(" / themed/mipmap" )
107+ inputDir = project. file(" themed/mipmap" )
109108 outputDirs = sizes. collectEntries {
110109 [(it): project. file(" ${ this.path} /mipmap-${ it.getResourceValue()} " )]
111110 }
Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ jackson = "2.13.5"
1515
1616okhttp3 = " 4.12.0"
1717
18- android-gradle-plugin = " 8.5.0 "
18+ android-gradle-plugin = " 8.5.1 "
1919
20- com-android-sdk-common = " 31.5.0 "
20+ com-android-sdk-common = " 31.5.1 "
2121org-apache-commons-text = " 1.11.0"
2222jsr305 = " 3.0.2"
2323constructors-constraints-annotations = " 0.1.3"
2424
25- androidx-test-core = " 1.5.0 "
26- androidx-test-runner = " 1.5.2 "
27- androidx-test-rules = " 1.5.0 "
28- junit = " 1.1.5 "
25+ androidx-test-core = " 1.6.1 "
26+ androidx-test-runner = " 1.6.1 "
27+ androidx-test-rules = " 1.6.1 "
28+ junit = " 1.2.1 "
2929
3030[libraries ]
3131
You can’t perform that action at this time.
0 commit comments