File tree 3 files changed +13
-7
lines changed
JniBitmapOperationsLibrary
3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,22 @@ android {
14
14
resources. srcDirs = [' src' ]
15
15
aidl. srcDirs = [' src' ]
16
16
renderscript. srcDirs = [' src' ]
17
- jni. srcDirs = []
17
+ jni. srcDirs = [' jni ' ]
18
18
}
19
19
}
20
20
21
21
defaultConfig {
22
22
ndk {
23
23
moduleName " JniBitmapOperationsLibrary"
24
- ldLibs " log" , " jnigraphics"
24
+ ldLibs " log" , " bitmap"
25
+ cFlags " -DANDROID_NDK_HOME -ljnigraphics"
26
+ stl " stlport_shared"
25
27
}
26
28
}
27
29
30
+
31
+
32
+ /*
28
33
task buildNative(type: Exec, description: 'Compile JNI source via NDK') {
29
34
def ndkDir = android.plugin.ndkFolder
30
35
commandLine "$ndkDir/ndk-build",
@@ -46,4 +51,5 @@ android {
46
51
tasks.withType(JavaCompile) {
47
52
compileTask -> compileTask.dependsOn buildNative
48
53
}
54
+ */
49
55
}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ buildscript {
9
9
mavenCentral()
10
10
}
11
11
dependencies {
12
- classpath ' com.android.tools.build:gradle:1.0.0 '
12
+ classpath ' com.android.tools.build:gradle:1.2.3 '
13
13
14
14
// NOTE: Do not place your application dependencies here; they belong
15
15
// in the individual module build.gradle files
@@ -23,6 +23,6 @@ allprojects {
23
23
}
24
24
25
25
ext {
26
- propBuildToolsVersion = ' 21.1.2 '
27
- propCompileSdkVersion = 21
26
+ propBuildToolsVersion = ' 22.0.1 '
27
+ propCompileSdkVersion = 22
28
28
}
Original file line number Diff line number Diff line change 1
- # Fri Jan 16 11:30:20 CET 2015
1
+ # Wed May 13 00:33:24 EEST 2015
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-2.2-bin .zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-2.2-all .zip
You can’t perform that action at this time.
0 commit comments