Skip to content

Commit 2ec5fbe

Browse files
committed
chore(agentweb): publish v5.0.8
1 parent 04b716c commit 2ec5fbe

File tree

4 files changed

+36
-1
lines changed

4 files changed

+36
-1
lines changed

agentweb-core/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'maven-publish'
23

34
android {
45
compileSdk COMPILE_SDK_VERSION.toInteger()
@@ -47,3 +48,16 @@ dependencies {
4748
compileOnly 'androidx.legacy:legacy-support-v4:1.0.0'
4849
compileOnly fileTree(include: ['*.jar'], dir: 'providedLibs')
4950
}
51+
afterEvaluate {
52+
publishing {
53+
publications {
54+
// Creates a Maven publication called "release".
55+
release(MavenPublication) {
56+
from components["release"]
57+
groupId = 'com.github.Justson.AgentWeb'
58+
artifactId = 'agentweb-core'
59+
version = 'v5.0.7-androidx'
60+
}
61+
}
62+
}
63+
}

agentweb-core/src/main/java/com/just/agentweb/AgentWebView.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import android.util.AttributeSet;
2424
import android.util.Log;
2525
import android.util.Pair;
26+
import android.view.ActionMode;
2627
import android.view.View;
2728
import android.view.ViewGroup;
2829
import android.view.ViewParent;
@@ -125,6 +126,11 @@ public final void setWebViewClient(WebViewClient client) {
125126
public final void setWebViewClientSupport(WebViewClient client) {
126127
}
127128

129+
@Override
130+
public ActionMode startActionMode(ActionMode.Callback callback) {
131+
return super.startActionMode(callback);
132+
}
133+
128134
@Override
129135
public void destroy() {
130136
setVisibility(View.GONE);

agentweb-filechooser/build.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'maven-publish'
23

34
android {
45
compileSdk COMPILE_SDK_VERSION.toInteger()
@@ -42,3 +43,17 @@ dependencies {
4243
compileOnly 'androidx.legacy:legacy-support-v4:1.0.0'
4344
implementation project(':agentweb-core')
4445
}
46+
47+
afterEvaluate {
48+
publishing {
49+
publications {
50+
// Creates a Maven publication called "release".
51+
release(MavenPublication) {
52+
from components["release"]
53+
groupId = 'com.github.Justson.AgentWeb'
54+
artifactId = 'agentweb-filechooser'
55+
version = 'v5.0.7-androidx'
56+
}
57+
}
58+
}
59+
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ android.enableJetifier=true
2727
#systemProp.https.proxyPort=1087
2828
android.injected.testOnly=false
2929
android.nonFinalResIds=false
30-
org.gradle.java.home=/Applications/Android\ Studio.app/Contents/jbr/Contents/Home/
30+
#org.gradle.java.home=/Applications/Android\ Studio.app/Contents/jbr/Contents/Home/

0 commit comments

Comments
 (0)