File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ model {
6363 }
6464 buildTypes {
6565 release
66+ debug
6667 }
6768 platforms {
6869 x86 { architecture " x86" }
@@ -85,6 +86,12 @@ model {
8586 }
8687 }
8788
89+ if ((System . properties[" isRelease" ] ?: " false" ). toBoolean()) {
90+ targetBuildTypes " release"
91+ } else {
92+ targetBuildTypes " debug"
93+ }
94+
8895 binaries. all {
8996 if (delegate instanceof StaticLibraryBinarySpec ) {
9097 buildable = false
@@ -93,7 +100,7 @@ model {
93100 sharedLibraryFile = ReconstructFileName (sharedLibraryFile, buildType, targetPlatform)
94101
95102 tasks. all { t ->
96- logger. info " Adding task \" processResources\" a dependency on task \" $t. name \" "
103+ logger. info " Adding \" processResources\" .dependsOn \" $t \" ( ${ t.getClass() } ) "
97104 processResources. dependsOn t
98105 }
99106
@@ -161,6 +168,7 @@ sourceSets {
161168 resources {
162169 exclude " **/*.exp"
163170 exclude " **/*.lib"
171+ exclude " **/*.pdb"
164172 }
165173 }
166174}
You can’t perform that action at this time.
0 commit comments