Skip to content

Commit a2b9156

Browse files
author
Hasan Badran
committed
updated gradle
1 parent 2e30c4f commit a2b9156

File tree

9 files changed

+474
-501
lines changed

9 files changed

+474
-501
lines changed

.idea/caches/build_file_checksums.ser

0 Bytes
Binary file not shown.

.idea/codeStyles/Project.xml

-29
This file was deleted.

.idea/encodings.xml

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2-
3-
buildscript {
4-
5-
repositories {
6-
google()
7-
jcenter()
8-
}
9-
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.0.1'
11-
12-
13-
// NOTE: Do not place your application dependencies here; they belong
14-
// in the individual module build.gradle files
15-
}
16-
}
17-
18-
allprojects {
19-
repositories {
20-
google()
21-
jcenter()
22-
}
23-
}
24-
25-
task clean(type: Delete) {
26-
delete rootProject.buildDir
27-
}
1+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
3+
buildscript {
4+
5+
repositories {
6+
google()
7+
jcenter()
8+
}
9+
dependencies {
10+
classpath 'com.android.tools.build:gradle:3.4.0'
11+
12+
13+
// NOTE: Do not place your application dependencies here; they belong
14+
// in the individual module build.gradle files
15+
}
16+
}
17+
18+
allprojects {
19+
repositories {
20+
google()
21+
jcenter()
22+
}
23+
}
24+
25+
task clean(type: Delete) {
26+
delete rootProject.buildDir
27+
}
+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Jun 25 10:31:39 EEST 2018
2-
distributionBase=GRADLE_USER_HOME
3-
distributionPath=wrapper/dists
4-
zipStoreBase=GRADLE_USER_HOME
5-
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
1+
#Sun Apr 28 18:15:13 EEST 2019
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip

syntax-view/build.gradle

+40-40
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
apply plugin: 'com.android.library'
2-
3-
android {
4-
compileSdkVersion 26
5-
6-
7-
8-
defaultConfig {
9-
minSdkVersion 16
10-
targetSdkVersion 26
11-
versionCode 1
12-
versionName "1.0"
13-
14-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
15-
16-
}
17-
18-
buildTypes {
19-
release {
20-
minifyEnabled false
21-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22-
}
23-
}
24-
25-
compileOptions {
26-
targetCompatibility 1.8
27-
sourceCompatibility 1.8
28-
}
29-
}
30-
31-
dependencies {
32-
implementation fileTree(dir: 'libs', include: ['*.jar'])
33-
34-
implementation 'com.android.support:appcompat-v7:26.1.0'
35-
testImplementation 'junit:junit:4.12'
36-
androidTestImplementation 'com.android.support.test:runner:1.0.2'
37-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
38-
compile 'com.rengwuxian.materialedittext:library:2.1.4'
39-
40-
}
1+
apply plugin: 'com.android.library'
2+
3+
android {
4+
compileSdkVersion 26
5+
6+
7+
8+
defaultConfig {
9+
minSdkVersion 16
10+
targetSdkVersion 26
11+
versionCode 1
12+
versionName "1.0"
13+
14+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
15+
16+
}
17+
18+
buildTypes {
19+
release {
20+
minifyEnabled false
21+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22+
}
23+
}
24+
25+
compileOptions {
26+
targetCompatibility 1.8
27+
sourceCompatibility 1.8
28+
}
29+
}
30+
31+
dependencies {
32+
implementation fileTree(dir: 'libs', include: ['*.jar'])
33+
34+
implementation 'com.android.support:appcompat-v7:26.1.0'
35+
testImplementation 'junit:junit:4.12'
36+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
37+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
38+
implementation 'com.rengwuxian.materialedittext:library:2.1.4'
39+
40+
}
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
package net.cryptobrewery.syntaxview;
2-
3-
import android.graphics.Color;
4-
5-
import java.util.regex.Pattern;
6-
7-
/**
8-
* Created by TOSHIBA on 6/25/2018.
9-
*/
10-
11-
class SyntaxHighlighter {
12-
Pattern pattern;
13-
int color;
14-
15-
public SyntaxHighlighter(Pattern pattern) {
16-
this.pattern = pattern;
17-
}
18-
19-
public void setColor(String color){
20-
this.color = Color.parseColor(color);
21-
}
22-
}
1+
package net.cryptobrewery.syntaxview;
2+
3+
import android.graphics.Color;
4+
5+
import java.util.regex.Pattern;
6+
7+
/**
8+
* Created by TOSHIBA on 6/25/2018.
9+
*/
10+
11+
class SyntaxHighlighter {
12+
Pattern pattern;
13+
int color;
14+
15+
SyntaxHighlighter(Pattern pattern) {
16+
this.pattern = pattern;
17+
}
18+
19+
void setColor(String color){
20+
this.color = Color.parseColor(color);
21+
}
22+
}

0 commit comments

Comments
 (0)