From 632b2f4669bc5ccf59347d1d580f02e500bc9185 Mon Sep 17 00:00:00 2001 From: cioccarellia Date: Thu, 18 Jan 2024 04:17:39 +0100 Subject: [PATCH] Added default configurations for `rooting` and `antipiracy` modules, and pre-packaged DSLs. Now every Kevlar entry point requires a DSL: removed dfu config (so that users can intentionally choose which one to use). Documentation updates w.r.t. the configuration of libraries (wip). Cleaned up example code & website configuration. Polishing here&there. --- .idea/codeStyles/Project.xml | 1 + .idea/kotlinc.xml | 2 +- .../com/kevlar/antipiracy/KevlarAntipiracy.kt | 60 ++++++++++-- docs/pages/modules/antipiracy/antipiracy.md | 65 +++++++----- docs/pages/modules/integrity/integrity.md | 79 +++++++++------ docs/pages/modules/rooting/implementation.md | 1 - docs/pages/modules/rooting/reference.md | 42 ++++++++ docs/pages/modules/rooting/rooting.md | 98 ++++++++++++------- .../com/kevlar/integrity/KevlarIntegrity.kt | 15 +-- mkdocs.yml | 11 ++- .../com/kevlar/rooting/KevlarRooting.kt | 94 +++++++++++++++--- .../rooting/dsl/settings/RootingSettings.kt | 10 +- showcase/build.gradle | 2 +- .../data/repo/AntipiracyRepository.kt | 6 +- .../showcase/data/repo/RootingRepository.kt | 3 +- .../antipiracy/AntipiracyActivity.kt | 2 + .../activities/integrity/IntegrityActivity.kt | 2 + .../ui/activities/main/MainActivity.kt | 5 +- .../ui/activities/rooting/RootingActivity.kt | 17 ++-- 19 files changed, 375 insertions(+), 140 deletions(-) mode change 100755 => 100644 .idea/codeStyles/Project.xml create mode 100644 docs/pages/modules/rooting/reference.md diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml old mode 100755 new mode 100644 index a771a08..24c31d0 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,5 +1,6 @@ +