Skip to content

Commit

Permalink
Merge pull request #61 from StringCare/develop
Browse files Browse the repository at this point in the history
v3.3: missing kotlin extension
  • Loading branch information
efraespada authored Aug 14, 2019
2 parents 67fe9a1 + f7a4490 commit fc942fb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
11 changes: 4 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

buildscript {
ext.kotlin_version = '1.3.31'
ext.kotlin_version = '1.3.41'

ext {
stringcare_version = '3.1'
stringcare_version = '3.3'
}

repositories {
Expand All @@ -16,11 +16,8 @@ buildscript {
}

dependencies {
// classpath "com.stringcare:plugin:$stringcare_version"
// classpath files('../GradlePlugin/build/libs/plugin-3.1.jar')
// classpath files('../GradlePlugin/build/libs/plugin-3.0.jar')
classpath files('../KotlinGradlePlugin/build/libs/plugin-3.1.jar')
// classpath files('..\\GradlePlugin\\build\\libs\\plugin-0.9.jar')
classpath "com.stringcare:plugin:$stringcare_version"
// classpath files('../KotlinGradlePlugin/build/libs/plugin-3.1.jar')
classpath 'com.android.tools.build:gradle:3.4.2'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

version = "3.2"
version = "3.3"

android {
compileSdkVersion 28
Expand Down
5 changes: 5 additions & 0 deletions library/src/main/java/com/stringcare/library/StringExt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ fun String.obfuscate(
androidTreatment: Boolean = defaultAndroidTreatment,
version: Version = defaultVersion
): String = SC.obfuscate(this, androidTreatment, version)

fun String.reveal(
androidTreatment: Boolean = defaultAndroidTreatment,
version: Version = defaultVersion
): String = SC.reveal(this, androidTreatment, version)

0 comments on commit fc942fb

Please sign in to comment.