Skip to content

Commit 1a020ff

Browse files
authored
Merge pull request #19 from NativeScript/trifonov/min-sdk
Move minSdk from manifest to the gradle
2 parents f548ec9 + 5a57628 commit 1a020ff

File tree

50 files changed

+212
-287
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+212
-287
lines changed

packages/template-blank-ng/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-blank-ng/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="17"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-blank-ts/app/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-blank-ts/app/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="17"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-blank-vue/app/App_Resources/Android/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="17"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-blank-vue/app/App_Resources/Android/app.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

1212
android {
1313
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
1516
}
1617
aaptOptions {

packages/template-blank/app/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-blank/app/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="17"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-drawer-navigation-ng/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-drawer-navigation-ng/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="17"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-drawer-navigation-ts/app/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-drawer-navigation-ts/app/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="17"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-drawer-navigation/app/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-drawer-navigation/app/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="17"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-enterprise-auth-ng/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-enterprise-auth-ng/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="21"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-enterprise-auth-ts/app/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-enterprise-auth-ts/app/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="21"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-enterprise-auth/app/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-enterprise-auth/app/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="21"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

packages/template-health-survey-ng/App_Resources/Android/app.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
// If you want to add something to be applied before applying plugins' include.gradle files
8+
// If you want to add something to be applied before applying plugins' include.gradle files
99
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
1010
// create a file named before-plugins.gradle in the current directory and place it there
1111

12-
android {
13-
defaultConfig {
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1415
generatedDensities = []
15-
}
16-
aaptOptions {
17-
additionalParameters "--no-version-vectors"
18-
}
19-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

packages/template-health-survey-ng/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="21"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>

0 commit comments

Comments
 (0)