Skip to content

Commit

Permalink
修复gradle build错误
Browse files Browse the repository at this point in the history
修复部分写法上的错误
  • Loading branch information
F8LEFT committed Apr 30, 2016
1 parent 9f629f9 commit 4570869
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/intermediates/classes/f8/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/f8/debug" />
<exclude-output />
Expand Down Expand Up @@ -139,7 +139,7 @@
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
<orderEntry type="jdk" jdkName="Android API 23 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="support-v4-19.1.0" level="project" />
<orderEntry type="library" exported="" name="appcompat-v7-19.1.0" level="project" />
Expand Down
14 changes: 8 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,21 @@ model {
}

android {
compileSdkVersion 19
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
applicationId "cydiasubstrate.hooktools"
minSdkVersion.apiLevel 16
targetSdkVersion.apiLevel 19

ndk {
moduleName "substrate-dvm"
ldLibs.addAll(["log", "dl"])
cppFlags.addAll(["-Wpointer-arith", "-fpermissive", "-Wformat"])
}

}

ndk {
moduleName "substrate-dvm"
ldLibs.addAll(["log", "dl"])
cppFlags.addAll(["-Wpointer-arith", "-fpermissive", "-Wformat"])
}

productFlavors {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle-experimental:0.7.0-alpha4'
classpath 'com.android.tools.build:gradle-experimental:0.7.0-rc1'
}
}

Expand Down
2 changes: 1 addition & 1 deletion cydiasubstrate_hooktools.iml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="true">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
Expand Down

0 comments on commit 4570869

Please sign in to comment.