Skip to content

Commit

Permalink
Update Samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Ademar Alves de Oliveira committed Jul 1, 2017
1 parent 258e4ec commit 661a2c1
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 26 deletions.
8 changes: 4 additions & 4 deletions Examples/Android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ apply plugin: 'com.android.application'

android {

compileSdkVersion 24
buildToolsVersion '24.0.3'
compileSdkVersion 25
buildToolsVersion '25.0.3'

defaultConfig {
minSdkVersion 1
targetSdkVersion 24
targetSdkVersion 25
}

}

dependencies {
compile 'com.github.simbiose:Encryption:2.0.0'
compile 'com.github.simbiose:Encryption:2.0.1'
}
6 changes: 2 additions & 4 deletions Examples/Android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="se.simbio.encryption"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
tools:ignore="GoogleAppIndexingWarning">
android:label="@string/app_name">
<activity
android:name=".MainActivity"
android:label="@string/app_name">
Expand Down
2 changes: 1 addition & 1 deletion Examples/Android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}

Expand Down
Binary file modified Examples/Android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion Examples/Android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip
7 changes: 5 additions & 2 deletions Examples/Java/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
apply plugin: 'java'
apply plugin: 'application'

mainClassName = 'se.simbio.encryption.Main'

group 'se.simbio.encryption.java.example'
version '2.0.0'
version '2.0.1'

repositories {
mavenCentral()
Expand All @@ -19,5 +22,5 @@ sourceSets {
}

dependencies {
compile 'com.github.simbiose:Encryption:2.0.0'
implementation 'com.github.simbiose:Encryption:2.0.1'
}
Binary file modified Examples/Java/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion Examples/Java/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip
18 changes: 8 additions & 10 deletions Examples/Kotlin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'application'

mainClassName = 'se.simbio.encryption.MainKt'

group 'se.simbio.encryption.kotlin.example'
version '2.0.0'
version '2.0.1'

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.4'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.3'
}
}

Expand All @@ -21,14 +23,10 @@ repositories {
}

sourceSets {
main {
java {
srcDir 'src'
}
}
main.kotlin.srcDirs += 'src'
}

dependencies {
compile 'com.github.simbiose:Encryption:2.0.0'
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.0.4'
implementation 'com.github.simbiose:Encryption:2.0.1'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.1.3'
}
Binary file modified Examples/Kotlin/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion Examples/Kotlin/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip
3 changes: 1 addition & 2 deletions Examples/Kotlin/src/se/simbio/encryption/Examples.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package se.simbio.encryption

import java.security.NoSuchAlgorithmException

import third.part.android.util.Base64
import java.security.NoSuchAlgorithmException

/**
* each method is an example of Encryption
Expand Down

0 comments on commit 661a2c1

Please sign in to comment.