Skip to content

Commit 49592c9

Browse files
committed
Move minSdkVersion and targetSdkVersion to gradle
The min and target SDK versions should be declared in Gradle now instead of the Manifest.
1 parent 97a16c2 commit 49592c9

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="com.example.jnibitmapoperationslibrary"
33
android:versionCode="1"
4-
android:versionName="1.0" >
5-
6-
<uses-sdk
7-
android:minSdkVersion="8"
8-
android:targetSdkVersion="23" />
9-
10-
11-
</manifest>
4+
android:versionName="1.0" />

JniBitmapOperationsLibrary/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ android {
2525
cFlags "-DANDROID_NDK_HOME"
2626
stl "stlport_shared"
2727
}
28+
minSdkVersion 8
29+
targetSdkVersion 23
2830
}
2931

3032
externalNativeBuild {

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010
google()
1111
}
1212
dependencies {
13-
classpath 'com.android.tools.build:gradle:3.1.2'
13+
classpath 'com.android.tools.build:gradle:3.2.0'
1414

1515
// NOTE: Do not place your application dependencies here; they belong
1616
// in the individual module build.gradle files

0 commit comments

Comments
 (0)