Skip to content

Commit 8d92b8e

Browse files
author
Mihail Slavchev
committed
Merge branch 'release'
2 parents 68e7c3a + db7146a commit 8d92b8e

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
1.7.0
2+
==
3+
4+
## What's New
5+
- [Extendind Application and Activity classes](https://github.com/NativeScript/android-runtime/issues/226)
6+
- Gradle script improvements
7+
8+
## Bug Fixes
9+
10+
- [App crashes with "NativeScriptApplication already initialized"](https://github.com/NativeScript/android-runtime/issues/362)
11+
- [Upgrade to Gradle 1.5.0](https://github.com/NativeScript/android-runtime/issues/375)
12+
13+
114
1.6.0
215
==
316

build/project-template-gradle/build.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,22 @@ dependencies {
178178
///////////////////////////// CONFIGURATION PHASE //////////////////////////////////
179179
////////////////////////////////////////////////////////////////////////////////////
180180

181+
task pluginStructureCheck {
182+
def ft = fileTree(dir: nodeModulesDir, include: ["**/platforms/android/**/*.*"], exclude: '**/.bin/**')
183+
ft.files.each { f ->
184+
def fileName = f.getName();
185+
if(
186+
!fileName.endsWith(".aar")
187+
&&
188+
!fileName.equals("include.gradle")
189+
&&
190+
!fileName.endsWith(".jar")
191+
){
192+
println "WARNING: The file: " + f + " is depricated, you can read more about what will be the expected plugin structure here: https://www.nativescript.org/blog/migrating-n-android-plugins-from-version-1.7-to-2.0"
193+
}
194+
}
195+
}
196+
181197
def createIncludeFile (filePath, fileName, dimensionName) {
182198
println "\t+creating include.gradle file for: " + filePath
183199
def defaultIncludeFile = new File(filePath, "include.gradle")

0 commit comments

Comments
 (0)