File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 55 * Contributors : BingChunMoLi <[email protected] > 66 * |
77 * Created On : <2023-08-31>
8- * Last Modified : <2025-07-22 >
8+ * Last Modified : <2025-07-31 >
99 * ------------------------------------------------------------*/
1010
1111static SourceProvider_t pl_java_upstream =
@@ -41,6 +41,7 @@ pl_java_check_cmd (bool *maven_exist, bool *gradle_exist)
4141 }
4242}
4343
44+
4445char *
4546pl_java_find_maven_config ()
4647{
@@ -52,6 +53,7 @@ pl_java_find_maven_config ()
5253 return maven_config ;
5354}
5455
56+
5557void
5658pl_java_getsrc (char * option )
5759{
@@ -61,6 +63,7 @@ pl_java_getsrc (char *option)
6163 chsrc_note2 (xy_2strjoin ("请查看 " , maven_config ));
6264}
6365
66+
6467/**
6568 * @consult https://developer.aliyun.com/mirror/maven
6669 */
@@ -95,13 +98,20 @@ pl_java_setsrc (char *option)
9598}
9699
97100
101+ void
102+ pl_java_resetsrc (char * option )
103+ {
104+ pl_java_setsrc (option );
105+ }
106+
107+
98108Feature_t
99109pl_java_feat (char * option )
100110{
101111 Feature_t f = {0 };
102112
103113 f .can_get = true;
104- f .can_reset = false ;
114+ f .can_reset = true ;
105115
106116 f .cap_locally = CanNot ;
107117 f .cap_locally_explain = NA ;
@@ -112,4 +122,4 @@ pl_java_feat (char *option)
112122 return f ;
113123}
114124
115- def_target_gsf (pl_java );
125+ def_target_gsrf (pl_java );
You can’t perform that action at this time.
0 commit comments