Skip to content

Commit 221efce

Browse files
committed
changed package id
1 parent 9fc4abb commit 221efce

44 files changed

Lines changed: 115 additions & 113 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Apply Gradle plugin to Android application
1212
```gradle
1313
plugins {
1414
id("com.android.application") version <version>
15-
// todo: id("dev.aleksrychkov.methodhook") version <version>
15+
// todo: id("io.github.aleksrychkov.methodhook") version <version>
1616
}
1717
```
1818

@@ -45,7 +45,7 @@ a created `methodhook_activity.conf` file previously
4545
// build.gradle.kts
4646
plugins {
4747
id("com.android.application") version <version>
48-
id("dev.aleksrychkov.methodhook") version <version>
48+
id("io.github.aleksrychkov.methodhook") version <version>
4949
}
5050
5151
android { … }
@@ -165,7 +165,7 @@ file
165165
// build.gradle.kts
166166
plugins {
167167
id("com.android.application") version <version>
168-
id("dev.aleksrychkov.methodhook") version <version>
168+
id("io.github.aleksrychkov.methodhook") version <version>
169169
}
170170
171171
android {

examples/android-gradle-kts/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ plugins {
55
}
66

77
android {
8-
namespace = "dev.aleksrychkov.example"
8+
namespace = "io.github.aleksrychkov.example"
99
compileSdk = 34
1010

1111
defaultConfig {
12-
applicationId = "dev.aleksrychkov.example.android.kts"
12+
applicationId = "io.github.aleksrychkov.example.android.kts"
1313
minSdk = 24
1414
targetSdk = 34
1515
versionCode = 1

examples/android-gradle-kts/methodhook/methodhook_activity.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ activity {
55
"onStart",
66
"onResume"
77
]
8-
packageId = "dev.aleksrychkov.example"
9-
beginMethodWith = "dev.aleksrychkov.example.MethodHook.start"
10-
endMethodWith = "dev.aleksrychkov.example.MethodHook.end"
8+
packageId = "io.github.aleksrychkov.example"
9+
beginMethodWith = "io.github.aleksrychkov.example.MethodHook.start"
10+
endMethodWith = "io.github.aleksrychkov.example.MethodHook.end"
1111
}
1212
activity2 {
1313
superClass = "android.app.Activity"
1414
methods = [
1515
"onCreate"
1616
]
17-
packageId = "dev.aleksrychkov.example2"
18-
beginMethodWith = "dev.aleksrychkov.example2.MethodHook2.start"
19-
endMethodWith = "dev.aleksrychkov.example2.MethodHook2.end"
17+
packageId = "io.github.aleksrychkov.example2"
18+
beginMethodWith = "io.github.aleksrychkov.example2.MethodHook2.start"
19+
endMethodWith = "io.github.aleksrychkov.example2.MethodHook2.end"
2020
}

examples/android-gradle-kts/methodhook/methodhook_fragment.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ fragment {
44
"onCreateView",
55
"onViewCreated"
66
]
7-
packageId = "dev.aleksrychkov.example"
8-
beginMethodWith = "dev.aleksrychkov.example.MethodHook.start"
9-
endMethodWith = "dev.aleksrychkov.example.MethodHook.end"
7+
packageId = "io.github.aleksrychkov.example"
8+
beginMethodWith = "io.github.aleksrychkov.example.MethodHook.start"
9+
endMethodWith = "io.github.aleksrychkov.example.MethodHook.end"
1010
}

examples/android-gradle-kts/methodhook/methodhook_service.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ service {
55
"onStartCommand",
66
"onBind"
77
]
8-
beginMethodWith = "dev.aleksrychkov.example.MethodHook.start"
9-
endMethodWith = "dev.aleksrychkov.example.MethodHook.end"
8+
beginMethodWith = "io.github.aleksrychkov.example.MethodHook.start"
9+
endMethodWith = "io.github.aleksrychkov.example.MethodHook.end"
1010
}

examples/android-gradle-kts/src/main/AndroidManifest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
android:theme="@style/Theme.Androidgradlemethodinception"
1414
tools:targetApi="31">
1515
<activity
16-
android:name="dev.aleksrychkov.example.MainActivity"
16+
android:name="io.github.aleksrychkov.example.MainActivity"
1717
android:exported="true">
1818
<intent-filter>
1919
<action android:name="android.intent.action.MAIN" />
2020
<category android:name="android.intent.category.LAUNCHER" />
2121
</intent-filter>
2222
</activity>
2323

24-
<service android:name="dev.aleksrychkov.example.MainService" />
24+
<service android:name="io.github.aleksrychkov.example.MainService" />
2525

26-
<activity android:name="dev.aleksrychkov.example2.MainActivity2"/>
26+
<activity android:name="io.github.aleksrychkov.example2.MainActivity2" />
2727
</application>
2828

2929
</manifest>

examples/android-gradle-kts/src/main/kotlin/dev/aleksrychkov/example/AbstractActivity.kt renamed to examples/android-gradle-kts/src/main/kotlin/io/github/aleksrychkov/example/AbstractActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package dev.aleksrychkov.example
1+
package io.github.aleksrychkov.example
22

33
import android.os.Bundle
44
import androidx.appcompat.app.AppCompatActivity

examples/android-gradle-kts/src/main/kotlin/dev/aleksrychkov/example/AbstractFragment.kt renamed to examples/android-gradle-kts/src/main/kotlin/io/github/aleksrychkov/example/AbstractFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package dev.aleksrychkov.example
1+
package io.github.aleksrychkov.example
22

33
import android.os.Bundle
44
import android.view.LayoutInflater

examples/android-gradle-kts/src/main/kotlin/dev/aleksrychkov/example/MainActivity.kt renamed to examples/android-gradle-kts/src/main/kotlin/io/github/aleksrychkov/example/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package dev.aleksrychkov.example
1+
package io.github.aleksrychkov.example
22

33
import android.os.Bundle
44

examples/android-gradle-kts/src/main/kotlin/dev/aleksrychkov/example/MainFragment.kt renamed to examples/android-gradle-kts/src/main/kotlin/io/github/aleksrychkov/example/MainFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package dev.aleksrychkov.example
1+
package io.github.aleksrychkov.example
22

33
import android.os.Bundle
44
import android.view.LayoutInflater

0 commit comments

Comments
 (0)