From 025c1e95dd93ad791b7724ac81e6faaa8b0ef880 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Mon, 6 Sep 2021 03:00:10 -0700 Subject: [PATCH] riru: Add module.gradle to Git repo This exclusion only makes sense for the template. --- riru/.gitignore | 1 - riru/module.gradle | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 riru/module.gradle 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 +}