diff --git a/riru/.gitignore b/riru/.gitignore index 302e5c0..f7d5fd6 100644 --- a/riru/.gitignore +++ b/riru/.gitignore @@ -12,4 +12,3 @@ /out .externalNativeBuild .cxx -module.gradle \ No newline at end of file diff --git a/riru/module.gradle b/riru/module.gradle new file mode 100644 index 0000000..1f76b4b --- /dev/null +++ b/riru/module.gradle @@ -0,0 +1,30 @@ +ext { + /* + This name will be used in the name of the so file ("lib${moduleLibraryName}.so"). + */ + moduleLibraryName = "safetynetfix" + + /* Minimal supported Riru API version, used in the version check of riru.sh */ + moduleMinRiruApiVersion = 24 + + /* The version name of minimal supported Riru, used in the version check of riru.sh */ + moduleMinRiruVersionName = "v24.0.0" + + /* Maximum supported Riru API version, used in the version check of riru.sh */ + moduleRiruApiVersion = 26 + + /* + Magisk module ID + Since Magisk use it to distinguish different modules, you should never change it. + + Note, the older version of the template uses '-' instead of '_', if your are upgrading from + the older version, please pay attention. + */ + magiskModuleId = "safetynet-fix" + + moduleName = "Universal SafetyNet Fix" + moduleAuthor = "kdrag0n" + moduleDescription = "A universal fix for SafetyNet on Android 8–12 devices with hardware attestation and unlocked bootloaders. Requires MagiskHide and Riru $moduleMinRiruVersionName or newer." + moduleVersion = "v2.0.0" + moduleVersionCode = 20000 +}