https://kotlinlang.org logo
#moko
Title
# moko
a

Andy Gibel

11/19/2019, 4:24 PM
So just some feedback FWIW. I think moko (template especially) saves some config headaches. However, what I would find really valuable is a medium article or something describing exactly what is going on in your DSLs. I know the source is available but just some discussion on why you chose this abstraction, what problems it's solving, future support plans, etc
m

Michal Harakal

11/19/2019, 9:13 PM
I can imagine, that guys are now quite busy with KotlinConf preparation https://kotlinconf.com/speakers/d15615b3-f005-4c37-b133-beddab03f7a8/
2
a

Andy Gibel

11/19/2019, 9:14 PM
oh nice! Good call I didn't know they were speaking. Very cool
a

alex009

11/20/2019, 2:00 AM
what exactly DSLs you mean?
a

Andy Gibel

11/20/2019, 2:10 AM
Well not DSLs I guess but the special setup basically. The setup framework call with exports, the integration of the cocoapods plugin. I was also not sure why you had an AndroidManifest in the mpp-library androidMain. I haven't seen it setup like this before
a

alex009

11/20/2019, 2:29 AM
all android libraries must have AndroidManifest 🙂
main
sourceset (default path for android) in mpp module is strange, so we change
main
to
androidMain
and AndroidManifest also like
res
directory moved to
androidMain
a

Andy Gibel

11/20/2019, 2:29 AM
Right, exactly
a

alex009

11/20/2019, 2:30 AM
maybe you can add issue on github with list of questions? this will be helpful
a

Andy Gibel

11/20/2019, 2:30 AM
Ah ok. Didn't know if you wanted to track non tech issues there
Also as you can see from above I often have newbie questions and don't want to pollute your GitHub :P
a

alex009

11/20/2019, 2:34 AM
i mean add issue for documentation improvement. with questions that cannot be answered in the current documentation
other questions can be asked here in slack 🙂
p

Patrick Jackson

02/05/2020, 12:01 AM
agree with @Andy Gibel . I'm attempting to pull in the resources library/plugin into an existing KotlinMP project and having a hard time with it. Your projects are not setup like 'typical' kotlin mp projects. and the kotlin build.gradle files add another layer (I'm using groovy)
a

alex009

02/05/2020, 2:50 AM
Can you show more details about problems with setup? in which repository and what part of the documentation should be improved? which points are not clear?
p

Patrick Jackson

02/05/2020, 1:35 PM
One current problem is having a dependency on a moko resource based module in another kotlin MP module. I run into all kinds of gradle sync problems. I'm using the standard groovy KMP in the other module build.gradle. I would expect to be able to add `implementation project(':mymodule') in the commonMain dependency block. When building I get an error:
Copy code
Could not resolve project :mymodule.
     Required by:
         project :templates > project :sdk
      > Cannot choose between the following variants of project :smymodule:
          - androidDebugAndroidTestCompile
          - androidDebugAndroidTestRuntime``
Ran into other errors and sync problems as I tried various setups, but haven't documented them. I like what your doing, just spinning my wheels trying to get setup
a

alex009

02/05/2020, 1:47 PM
can you show project config? or maybe project on github? i will try help with dependency issue if i reproduce it
2 Views