-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Android native libraries through Gradle #1152
Changes from all commits
1cbd8ed
6f8c405
9e7353f
578563a
f0de40c
991ddc9
3a81038
1fa6600
eb78365
43f52a1
3afa794
0cc0176
5725dfb
f053534
b86b23f
44784e1
d77bc87
5fe223a
e2625e1
54f4b13
b3a4c1a
4380917
52b16fe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,7 @@ proguard/ | |
# Log Files | ||
*.log | ||
|
||
*.externalNativeBuild | ||
|
||
### Xcode ### | ||
*.pbxuser | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,29 @@ | ||
buildscript { | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.1.3' | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 24 | ||
buildToolsVersion '24.0.2' | ||
compileSdkVersion 25 | ||
buildToolsVersion '25.0.0' | ||
|
||
defaultConfig { | ||
minSdkVersion 15 | ||
targetSdkVersion 24 | ||
targetSdkVersion 25 | ||
} | ||
|
||
sourceSets.main { | ||
manifest.srcFile 'AndroidManifest.xml' | ||
java.srcDirs = ['src'] | ||
resources.srcDirs = ['src'] | ||
res.srcDirs = ['res'] | ||
assets.srcDirs = ['../../scenes'] | ||
} | ||
|
||
aaptOptions.ignoreAssetsPattern "!*.ttf" | ||
|
||
buildTypes { | ||
debug { | ||
// applicationIdSuffix ".debug" | ||
debuggable true | ||
jniDebuggable true | ||
} | ||
} | ||
|
||
aaptOptions.ignoreAssetsPattern "!*.ttf" | ||
} | ||
|
||
dependencies { | ||
compile project(":tangram") | ||
debugCompile project(path: ':tangram', configuration: 'slimDebug') | ||
releaseCompile project(path: ':tangram', configuration: 'slimRelease') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should'nt the demo app be marked debuggable? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a good point about the "debuggable" flags, I'm not sure of the impact of these flags on either the library or demo module under the new build system, but I can try both and see. |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
org.gradle.daemon=true | ||
org.gradle.parallel=true | ||
org.gradle.jvmargs=-Xmx2048m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any specific issues here with the debug configuration? Based on b859576, it seems it was only temporary.