Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
af48a8da
Commit
af48a8da
authored
9 months ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
build: run make-swig once, before kotlin
Change-Id: I143a33c8dc43d84e07607088638cd4c2bb72c67a
parent
3b081d93
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
jami-android/app/build.gradle.kts
+9
-1
9 additions, 1 deletion
jami-android/app/build.gradle.kts
with
9 additions
and
1 deletion
jami-android/app/build.gradle.kts
+
9
−
1
View file @
af48a8da
import
org.jetbrains.kotlin.gradle.tasks.KotlinCompile
val
kotlin_version
:
String
by
rootProject
.
extra
val
hilt_version
:
String
by
rootProject
.
extra
val
dokka_version
:
String
by
rootProject
.
extra
...
...
@@ -28,7 +30,7 @@ android {
arguments
+=
listOf
(
"-DANDROID_STL=c++_shared"
,
"-DBUILD_CONTRIB=ON"
,
"-DBUILD_EXTRA_TOOLS=O
N
"
,
"-DBUILD_EXTRA_TOOLS=O
FF
"
,
"-DJAMI_TESTS=OFF"
,
"-DBUILD_TESTING=OFF"
,
"-DJAMI_JNI=ON"
,
...
...
@@ -184,3 +186,9 @@ if (buildFirebase) {
println
(
"apply plugin $buildFirebase"
)
apply
(
plugin
=
"com.google.gms.google-services"
)
}
// Make sure the native build runs before the Kotlin/Java build
afterEvaluate
{
val
cmakeTasks
=
tasks
.
matching
{
it
.
name
.
startsWith
(
"buildCMake"
)
}
tasks
.
withType
<
KotlinCompile
>().
configureEach
{
dependsOn
(
cmakeTasks
)
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment