0.1.20 • Published 3 years ago

@zkty-team/x-engine-module-scan v0.1.20

Weekly downloads
16
License
MIT
Repository
-
Last release
3 years ago

gradle read version from config file https://stackoverflow.com/questions/47492210/react-native-automatic-version-name-from-package-json-to-android-build-manifes

// On top of your file import a JSON parser
import groovy.json.JsonSlurper

// Create an easy to use function
def getVersionFromNpm() {
    //  Read and parse package.json file from project root
    def inputFile = new File("$rootDir/../package.json")
    def packageJson = new JsonSlurper().parseText(inputFile.text)

    // Return the version, you can get any value this way
    return packageJson["version"]
}

android {
    defaultConfig {
        applicationId "your.app.id"
        versionName getVersionFromNpm()
    }
}

pod config file https://stackoverflow.com/questions/21405457/autoincrement-versioncode-with-gradle-extra-properties

0.1.20

3 years ago

0.1.17

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.8

3 years ago

0.1.9

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.0.67

3 years ago

0.0.60

3 years ago

0.0.59

3 years ago

0.0.58

3 years ago

0.0.57

3 years ago

0.0.56

4 years ago

0.0.51

4 years ago

0.0.55

4 years ago

0.0.50

4 years ago

0.0.49

4 years ago

0.0.48

4 years ago

0.0.40

4 years ago

0.0.39

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago