Skip to content
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

Fix missing native dependencies on packaged artifacts #2748

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions animated-gif/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ android {
}
}
ndkLibs.each { lib -> makeNdkTasks lib[0], lib[1] }
preBuild.dependsOn("ndk_build_gifimage")
}

apply plugin: "com.vanniktech.maven.publish"
5 changes: 5 additions & 0 deletions imagepipeline-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ android {
}
}
ndkLibs.each { lib -> makeNdkTasks lib[0], lib[1] }
preBuild.dependsOn(
"ndk_build_bitmaps",
"ndk_build_imagepipeline",
"ndk_build_memchunk"
)
}

apply plugin: "com.vanniktech.maven.publish"
4 changes: 4 additions & 0 deletions native-filters/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ android {
abortOnError false
}
ndkLibs.each { lib -> makeNdkTasks lib[0], lib[1] }
preBuild.dependsOn(
"ndk_build_filters",
"ndk_build_native-filters"
)
}

apply plugin: "com.vanniktech.maven.publish"
5 changes: 4 additions & 1 deletion native-imagetranscoder/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ task fetchNativeDeps(dependsOn: [copyLibjpeg]) {
}

android {

def ndkLibs = [
['native-imagetranscoder', [copyLibjpeg]]]

Expand Down Expand Up @@ -76,6 +75,10 @@ android {
abortOnError false
}
ndkLibs.each { lib -> makeNdkTasks lib[0], lib[1] }
preBuild.dependsOn(
"ndk_build_native-imagetranscoder",
"copyLibjpeg"
)
}

apply plugin: "com.vanniktech.maven.publish"
6 changes: 6 additions & 0 deletions static-webp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ android {
abortOnError false
}
ndkLibs.each { lib -> makeNdkTasks lib[0], lib[1] }
preBuild.dependsOn(
"ndk_build_static-webp",
"copyLibjpeg",
"copyLibpng",
"copyLibwebp"
)
}

apply plugin: "com.vanniktech.maven.publish"