Skip to content

Releases: hyperdevs-team/poeditor-android-gradle-plugin

1.3.1

21 Dec 21:44
12098df
Compare
Choose a tag to compare

Fixed

  • Fix percent symbols being escaped when variables are present.

1.3.0

28 Sep 15:18
891f3bd
Compare
Choose a tag to compare

Added

  • Add support for using the plug-in in library modules.
  • Add support for configuring non-standard resource directory path via defaultResPath. Thanks to @rafid059 for the contribution!
Groovy
poEditor {
    defaultResPath = "your/res/path"
}

android {
    // If you have the following flavors...
    flavorDimensions 'type'
    productFlavors {
        free { dimension 'type' }
        paid { dimension 'type' }
    }

    poEditorConfig {
        free {
            // Configuration for the free flavor, same syntax as usual
            defaultResPath = "your/free/res/path"
        }
        paid {
            // Configuration for the paid flavor, same syntax as usual
            defaultResPath = "your/paid/res/path"
        }
        debug {
            // Configuration for the debug build type, same syntax as usual
            defaultResPath = "your/debug/res/path"
        }
        release {
            // Configuration for the release build type, same syntax as usual
            defaultResPath = "your/release/res/path"
        }
    }
}
Kotlin
poEditor {
    defaultResPath = "your/res/path"
}

android {
    // If you have the following flavors...
    flavorDimensions("type")

    productFlavors {
        register("free") { setDimension("type") }
        register("paid") { setDimension("type") }
    }

    poEditorConfig {
        register("free") {
            // Configuration for the free flavor, same syntax as usual
            defaultResPath = "your/free/res/path"
        }
        register("paid") {
            // Configuration for the paid flavor, same syntax as usual
            defaultResPath = "your/paid/res/path"
        }
        register("debug") {
            // Configuration for the debug build type, same syntax as usual
            defaultResPath = "your/debug/res/path"
        }
        register("release") {
            // Configuration for the release build type, same syntax as usual
            defaultResPath = "your/release/res/path"
        }
    }
}

1.2.0

03 Sep 20:19
38d0828
Compare
Choose a tag to compare

Added

  • Add proper support for plurals

1.1.0

14 Aug 12:37
8c59a81
Compare
Choose a tag to compare

Added

  • Add support for flavor and build type configuration. The sample configuration is as follows:
Groovy
poEditor {
    // Default config that applies to all flavor/build type configurations. 
    // Also executed when calling 'importPoEditorStrings'
}

android {
    // If you have the following flavors...
    flavorDimensions 'type'
    productFlavors {
        free { dimension 'type' }
        paid { dimension 'type' }
    }

    poEditorConfig {
        free {
            // Configuration for the free flavor, same syntax as usual
        }
        paid {
            // Configuration for the paid flavor, same syntax as usual
        }
        debug {
            // Configuration for the debug build type, same syntax as usual
        }
        release {
            // Configuration for the release build type, same syntax as usual
        }
    }
}
Kotlin
poEditor {
    // Default config that applies to all flavor/build type configurations. 
    // Also executed when calling 'importPoEditorStrings'
}

android {
    // If you have the following flavors...
    flavorDimensions("type")

    productFlavors {
        register("free") { setDimension("type") }
        register("paid") { setDimension("type") }
    }

    poEditorConfig {
        register("free") {
            // Configuration for the free flavor, same syntax as usual
        }
        register("paid") {
            // Configuration for the paid flavor, same syntax as usual
        }
        register("debug") {
            // Configuration for the debug build type, same syntax as usual
        }
        register("release") {
            // Configuration for the release build type, same syntax as usual
        }
    }
}

Removed

  • The resDirPath parameter is no longer needed, since it gets inferred from the flavor or build type configured in the app

1.0.0

21 Jul 15:55
9a5845c
Compare
Choose a tag to compare

Added

  • Full project refactor in order to improve general stability and reliability of the plug-in.

Fixed

  • The plug-in does not rely on curl commands now.
    Instead it now uses OkHttp and Retrofit libraries.
  • Tablet strings folder are not generated if no tablet strings are found.

Changed

  • The plugin name to use is now poEditor instead of poEditorPlugin.
  • The input parameters have been changed from snake case to camel case:
api_token -> apiToken
project_id -> projectId
default_lang -> defaultLang
res_dir_path -> resDirPath

0.2.5

08 Jul 08:28
Compare
Choose a tag to compare

Fixed

  • Fix build process to allow integration via JitPack.

0.2.4

08 Jul 07:46
Compare
Choose a tag to compare

Added

  • Initial release.