Fix version

This commit is contained in:
坏黑 2019-07-14 19:22:48 +08:00
parent 2e47b3c72e
commit 1a431ee9ad

View File

@ -62,11 +62,11 @@ processResources {
inputs.property "version", project.version inputs.property "version", project.version
from(sourceSets.main.resources.srcDirs) { from(sourceSets.main.resources.srcDirs) {
include 'version' include '__resources__/version'
expand 'version': project.version expand 'version': project.version
} }
from(sourceSets.main.resources.srcDirs) { from(sourceSets.main.resources.srcDirs) {
exclude 'version' exclude '__resources__/version'
} }
} }