File tree 12 files changed +24
-26
lines changed
12 files changed +24
-26
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,16 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
5
- compileSdkVersion 24
6
- buildToolsVersion ' 24 .0.3'
5
+ compileSdkVersion 25
6
+ buildToolsVersion ' 25 .0.3'
7
7
8
8
defaultConfig {
9
9
minSdkVersion 1
10
- targetSdkVersion 24
10
+ targetSdkVersion 25
11
11
}
12
12
13
13
}
14
14
15
15
dependencies {
16
- compile ' com.github.simbiose:Encryption:2.0.0 '
16
+ compile ' com.github.simbiose:Encryption:2.0.1 '
17
17
}
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest
3
3
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" >
6
5
7
6
<application
8
7
android : icon =" @mipmap/ic_launcher"
9
- android : label =" @string/app_name"
10
- tools : ignore =" GoogleAppIndexingWarning" >
8
+ android : label =" @string/app_name" >
11
9
<activity
12
10
android : name =" .MainActivity"
13
11
android : label =" @string/app_name" >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ buildscript {
3
3
jcenter()
4
4
}
5
5
dependencies {
6
- classpath ' com.android.tools.build:gradle:2.2.2 '
6
+ classpath ' com.android.tools.build:gradle:2.3.3 '
7
7
}
8
8
}
9
9
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
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
Original file line number Diff line number Diff line change 1
1
apply plugin : ' java'
2
+ apply plugin : ' application'
3
+
4
+ mainClassName = ' se.simbio.encryption.Main'
2
5
3
6
group ' se.simbio.encryption.java.example'
4
- version ' 2.0.0 '
7
+ version ' 2.0.1 '
5
8
6
9
repositories {
7
10
mavenCentral()
@@ -19,5 +22,5 @@ sourceSets {
19
22
}
20
23
21
24
dependencies {
22
- compile ' com.github.simbiose:Encryption:2.0.0 '
25
+ implementation ' com.github.simbiose:Encryption:2.0.1 '
23
26
}
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
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
Original file line number Diff line number Diff line change 1
- apply plugin : ' java'
2
1
apply plugin : ' kotlin'
2
+ apply plugin : ' application'
3
+
4
+ mainClassName = ' se.simbio.encryption.MainKt'
3
5
4
6
group ' se.simbio.encryption.kotlin.example'
5
- version ' 2.0.0 '
7
+ version ' 2.0.1 '
6
8
7
9
buildscript {
8
10
repositories {
9
11
mavenCentral()
10
12
}
11
13
dependencies {
12
- classpath ' org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.4 '
14
+ classpath ' org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.3 '
13
15
}
14
16
}
15
17
@@ -21,14 +23,10 @@ repositories {
21
23
}
22
24
23
25
sourceSets {
24
- main {
25
- java {
26
- srcDir ' src'
27
- }
28
- }
26
+ main. kotlin. srcDirs + = ' src'
29
27
}
30
28
31
29
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 '
34
32
}
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
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
Original file line number Diff line number Diff line change 1
1
package se.simbio.encryption
2
2
3
- import java.security.NoSuchAlgorithmException
4
-
5
3
import third.part.android.util.Base64
4
+ import java.security.NoSuchAlgorithmException
6
5
7
6
/* *
8
7
* each method is an example of Encryption
You can’t perform that action at this time.
0 commit comments