Skip to content

Commit ca656f5

Browse files
authored
Merge pull request #684 from NativeScript/plamen5kov/revert_sbg
Plamen5kov/revert sbg
2 parents 40af180 + e447acd commit ca656f5

29 files changed

Lines changed: 769 additions & 836 deletions

android-static-binding-generator/project/parser/visitors/es5-visitors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var es5_visitors = (function () {
44

55
defaultExtendDecoratorName = "JavaProxy",
66
columnOffset = 1,
7-
FILE_SEPARATOR = "f",
7+
FILE_SEPARATOR = "_f",
88
LINE_SEPARATOR = "_l",
99
COLUMN_SEPARATOR = "_c",
1010
DECLARED_CLASS_SEPARATOR = "__",

android-static-binding-generator/project/staticbindinggenerator/build.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,10 @@ allprojects {
1313
}
1414

1515
dependencies {
16-
sourceCompatibility = 1.7
17-
targetCompatibility = 1.7
18-
16+
compile 'org.apache.bcel:bcel:5.2'
1917
compile fileTree(dir: 'libs', include: ['*.jar'])
2018
testCompile 'junit:junit:4.+'
2119
testCompile 'commons-io:commons-io:2.5'
22-
compile 'junit:junit:4.12'
23-
compile 'org.apache.bcel:bcel:5.2'
24-
testCompile files("./lib/dx.jar")
25-
compile project(':binding-generator')
2620
}
2721

2822
jar {
Binary file not shown.
Binary file not shown.

android-static-binding-generator/project/staticbindinggenerator/settings.gradle

Lines changed: 0 additions & 2 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package org.nativescript.staticbindinggenerator;
2+
3+
import java.io.File;
4+
5+
public class Binding {
6+
private final File file;
7+
private final String content;
8+
private final String classname;
9+
10+
public Binding(File file, String content, String classname) {
11+
this.file = file;
12+
this.content = content;
13+
this.classname = classname;
14+
}
15+
16+
public File getFile() {
17+
return file;
18+
}
19+
20+
public String getContent() {
21+
return content;
22+
}
23+
24+
public String getClassname() {
25+
return classname;
26+
}
27+
28+
}

android-static-binding-generator/project/staticbindinggenerator/src/main/java/org/nativescript/staticbindinggenerator/ClassInfo.java

Lines changed: 0 additions & 178 deletions
This file was deleted.

0 commit comments

Comments
 (0)