https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
d

Dominaezzz

01/24/2019, 3:28 PM
Copy code
afterEvaluate {
		kotlin.sourceSets.all {
			languageSettings {
				enableLanguageFeature('InlineClasses')
				useExperimentalAnnotation('kotlin.ExperimentalUnsignedTypes')
			}
		}
	}
I have this in my root project
build.gradle
file inside a
subprojects
block. When I convert the file to kotlin dsl, I get "sourceSets could not be resolved". Not sure how to covert that bit from groovy to kotlin.
Currently using
(property("kotlin") as KotlinMultiplatformExtension)
as work-around.
5 Views