Skip to content

Commit 661a2c1

Browse files
author
Ademar Alves de Oliveira
committed
Update Samples
1 parent 258e4ec commit 661a2c1

File tree

12 files changed

+24
-26
lines changed

12 files changed

+24
-26
lines changed

Examples/Android/app/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ apply plugin: 'com.android.application'
22

33
android {
44

5-
compileSdkVersion 24
6-
buildToolsVersion '24.0.3'
5+
compileSdkVersion 25
6+
buildToolsVersion '25.0.3'
77

88
defaultConfig {
99
minSdkVersion 1
10-
targetSdkVersion 24
10+
targetSdkVersion 25
1111
}
1212

1313
}
1414

1515
dependencies {
16-
compile 'com.github.simbiose:Encryption:2.0.0'
16+
compile 'com.github.simbiose:Encryption:2.0.1'
1717
}

Examples/Android/app/src/main/AndroidManifest.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest
33
package="se.simbio.encryption"
4-
xmlns:android="http://schemas.android.com/apk/res/android"
5-
xmlns:tools="http://schemas.android.com/tools">
4+
xmlns:android="http://schemas.android.com/apk/res/android">
65

76
<application
87
android:icon="@mipmap/ic_launcher"
9-
android:label="@string/app_name"
10-
tools:ignore="GoogleAppIndexingWarning">
8+
android:label="@string/app_name">
119
<activity
1210
android:name=".MainActivity"
1311
android:label="@string/app_name">

Examples/Android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
jcenter()
44
}
55
dependencies {
6-
classpath 'com.android.tools.build:gradle:2.2.2'
6+
classpath 'com.android.tools.build:gradle:2.3.3'
77
}
88
}
99

Binary file not shown.

Examples/Android/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip

Examples/Java/build.gradle

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
apply plugin: 'java'
2+
apply plugin: 'application'
3+
4+
mainClassName = 'se.simbio.encryption.Main'
25

36
group 'se.simbio.encryption.java.example'
4-
version '2.0.0'
7+
version '2.0.1'
58

69
repositories {
710
mavenCentral()
@@ -19,5 +22,5 @@ sourceSets {
1922
}
2023

2124
dependencies {
22-
compile 'com.github.simbiose:Encryption:2.0.0'
25+
implementation 'com.github.simbiose:Encryption:2.0.1'
2326
}
2.38 KB
Binary file not shown.

Examples/Java/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip

Examples/Kotlin/build.gradle

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
apply plugin: 'java'
21
apply plugin: 'kotlin'
2+
apply plugin: 'application'
3+
4+
mainClassName = 'se.simbio.encryption.MainKt'
35

46
group 'se.simbio.encryption.kotlin.example'
5-
version '2.0.0'
7+
version '2.0.1'
68

79
buildscript {
810
repositories {
911
mavenCentral()
1012
}
1113
dependencies {
12-
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.4'
14+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.3'
1315
}
1416
}
1517

@@ -21,14 +23,10 @@ repositories {
2123
}
2224

2325
sourceSets {
24-
main {
25-
java {
26-
srcDir 'src'
27-
}
28-
}
26+
main.kotlin.srcDirs += 'src'
2927
}
3028

3129
dependencies {
32-
compile 'com.github.simbiose:Encryption:2.0.0'
33-
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.0.4'
30+
implementation 'com.github.simbiose:Encryption:2.0.1'
31+
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.1.3'
3432
}
Binary file not shown.

Examples/Kotlin/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip

Examples/Kotlin/src/se/simbio/encryption/Examples.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
package se.simbio.encryption
22

3-
import java.security.NoSuchAlgorithmException
4-
53
import third.part.android.util.Base64
4+
import java.security.NoSuchAlgorithmException
65

76
/**
87
* each method is an example of Encryption

0 commit comments

Comments
 (0)