Skip to content

Commit 741e147

Browse files
author
plamen5kov
committed
reverted static binding generator to java source code generation
1 parent 59a935e commit 741e147

22 files changed

Lines changed: 686 additions & 680 deletions

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)