diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 000000000..ac68359b0 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +RUNTIME \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 000000000..96cc43efa --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 000000000..e7bedf337 --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 000000000..97626ba45 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 000000000..1fa251e44 --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 000000000..6eabdcd6c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 000000000..84f1bdaf2 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 000000000..7f68460d8 --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 000000000..35eb1ddfb --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 000000000..19ba1eb64 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,523 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1467115124615 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 4f2d7e200..0d04c3304 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ android: - tools - build-tools-23.0.3 - android-23 + - extra-android-support + - extra-android-m2repository - sys-img-armeabi-v7a-android-21 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock diff --git a/RUNTIME.iml b/RUNTIME.iml new file mode 100644 index 000000000..5267653ae --- /dev/null +++ b/RUNTIME.iml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test-app/runtimedebug/.gitignore b/test-app/runtimedebug/.gitignore new file mode 100644 index 000000000..d630dc072 --- /dev/null +++ b/test-app/runtimedebug/.gitignore @@ -0,0 +1,3 @@ +/build +/src +proguard-rules.pro \ No newline at end of file diff --git a/test-app/runtimedebug/build.gradle b/test-app/runtimedebug/build.gradle new file mode 100644 index 000000000..c2ca06c5c --- /dev/null +++ b/test-app/runtimedebug/build.gradle @@ -0,0 +1,95 @@ +apply plugin: 'com.android.model.application' + +import groovy.json.JsonSlurper //used to parse package.json + +model { + android { + compileSdkVersion = 23 + buildToolsVersion = "23.0.3" + + defaultConfig.with { + applicationId = "org.nativescript.runtimedebug" + minSdkVersion.apiLevel = 17 + targetSdkVersion.apiLevel = 22 + versionCode = 1 + versionName = "1.0" + } + + lintOptions.with { + abortOnError = false + } + } + + android.buildTypes { + release { + minifyEnabled = false + proguardFiles.add(file('proguard-rules.txt')) + } + } +} + +dependencies { + compile project(':runtime') + compile project(':binding-generator') + compile fileTree(dir: 'libs', include: ['*.jar']) + testCompile 'junit:junit:4.12' + compile 'com.android.support:appcompat-v7:23.3.0' + compile "com.android.support:support-v4:23.3.0" +} + +repositories { + jcenter() + flatDir { + dirs 'src/F0', 'src/F1', + 'src/F2', 'src/F3', + 'src/F4', 'src/F5', + 'src/F6', 'src/F7', + 'src/F8', 'src/F9', + 'src/F10', 'src/F11' + } +} + +task addAarDependencies { + FileTree tree = fileTree(dir: "$projectDir/src", include: ["**/*.aar"]) + tree.each { File file -> + // remove the extension of the file (.aar) + def length = file.name.length() - 4 + def fileName = file.name[0.. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test-app/settings.gradle b/test-app/settings.gradle index 2c793b622..d8bd12ad8 100644 --- a/test-app/settings.gradle +++ b/test-app/settings.gradle @@ -1,5 +1,4 @@ -include ':binding-generator', ':runtime', ':app' - +include ':binding-generator', ':runtime', ':app', ':runtimedebug' project(':binding-generator').projectDir = new File("../", "binding-generator") project(':runtime').projectDir = new File("../", "runtime") \ No newline at end of file