Skip to content

Include built-in libraries in exported projects' build.gradle#868

Merged
j-px merged 16 commits intoSketchware-Pro:mainfrom
DevVigilante:include_lib_in_gradle
Jun 13, 2023
Merged

Include built-in libraries in exported projects' build.gradle#868
j-px merged 16 commits intoSketchware-Pro:mainfrom
DevVigilante:include_lib_in_gradle

Conversation

@DevVigilante
Copy link
Contributor

@DevVigilante DevVigilante commented May 9, 2023

I(@TechnicalStudioDeveloper) wrote logic of adding libs used in project and @HAKANKOKCU added lib list for logic.

Implementation code
CircleImageView => de.hdodenhof:circleimageview:3.1.0
YoutubePlayer => com.pierfrancescosoffritti:androidyoutubeplayer:10.0.5
CodeView => br.tiagohm:codeview:0.4.0
LottieAnimation => com.airbnb:lottie:3.4.0
OTPView => affan.ahmad:otp:0.1.0
OneSignal => com.onesignal:OneSignal:3.14.0
PatternLockView => com.andrognito:patternlockview:1.0.0

@DevVigilante
Copy link
Contributor Author

DevVigilante commented May 9, 2023

@HAKANKOKCU and me does not know which lib version is used in few libs so we leaved them empty.

@DevVigilante DevVigilante changed the title Include lib in gradle Include some used lib in build.gradle when used in project. May 9, 2023
Copy link
Contributor

@j-px j-px left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it would have been better if no separate class was created since the changes are trivial: just a few more if statements and nothing complicated. we've fixed stuff like that with e.g. commit 4a92e19.

anyway, sorry, but I don't think code like this should be merged. it was clearly not written using a proper IDE and the indentation is messed up.

@j-px j-px added the improvement Enhances an existing feature or internal logic. label May 10, 2023
@DevVigilante DevVigilante requested a review from j-px June 1, 2023 08:52
@DevVigilante DevVigilante force-pushed the include_lib_in_gradle branch from 4c4b2ee to 9af0162 Compare June 5, 2023 06:14
Copy link
Contributor

@j-px j-px left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

hmm i wonder why

@j-px j-px changed the title Include some used lib in build.gradle when used in project. Include built-in libraries in exported projects' build.gradle Jun 13, 2023
@j-px j-px merged commit b57b18c into Sketchware-Pro:main Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Enhances an existing feature or internal logic.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants