File tree Expand file tree Collapse file tree 4 files changed +36
-1
lines changed
src/main/java/com/just/agentweb Expand file tree Collapse file tree 4 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
2+ apply plugin : ' maven-publish'
23
34android {
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+ }
Original file line number Diff line number Diff line change 2323import android .util .AttributeSet ;
2424import android .util .Log ;
2525import android .util .Pair ;
26+ import android .view .ActionMode ;
2627import android .view .View ;
2728import android .view .ViewGroup ;
2829import 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 );
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
2+ apply plugin : ' maven-publish'
23
34android {
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+ }
Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ android.enableJetifier=true
2727# systemProp.https.proxyPort=1087
2828android.injected.testOnly =false
2929android.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/
You can’t perform that action at this time.
0 commit comments