Search Gradle plugins

Owner: J!nl!n

elf-16k-alignment is a Gradle plugin designed for Android developers to detect whether native libraries (JNI .so files) in project dependencies (AARs) comply with the 16KB page alignment requirement.

https://daijinlin.com/elf-16k-alignment

Sources: https://github.com/5peak2me/elf-16k-alignment

Version 0.0.1 (latest)

Created 30 May 2026.

elf-16k-alignment is a Gradle plugin designed for Android developers to detect whether native libraries (JNI .so files) in project dependencies (AARs) comply with the 16KB page alignment requirement.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.5peak2me.gradle.elf-16k-alignment") version "0.0.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.5peak2me.gradle.elf-16k-alignment:io.github.5peak2me.gradle.elf-16k-alignment.gradle.plugin:0.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.5peak2me.gradle.elf-16k-alignment")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.5peak2me.gradle.elf-16k-alignment:io.github.5peak2me.gradle.elf-16k-alignment.gradle.plugin:0.0.1")
      }
    }
    
    apply(plugin = "io.github.5peak2me.gradle.elf-16k-alignment")
  • Applying plugins to all subprojects .