use of com.android.tools.idea.gradle.dsl.parser.android.sourceSets.SourceDirectoryDslElement in project android by JetBrains.
the class SourceSetModel method renderscript.
@NotNull
public SourceDirectoryModel renderscript() {
SourceDirectoryDslElement renderscript = myDslElement.getPropertyElement(RENDERSCRIPT, SourceDirectoryDslElement.class);
if (renderscript == null) {
renderscript = new SourceDirectoryDslElement(myDslElement, RENDERSCRIPT);
myDslElement.setNewElement(RENDERSCRIPT, renderscript);
}
return new SourceDirectoryModel(renderscript);
}
use of com.android.tools.idea.gradle.dsl.parser.android.sourceSets.SourceDirectoryDslElement in project android by JetBrains.
the class SourceSetModel method aidl.
@NotNull
public SourceDirectoryModel aidl() {
SourceDirectoryDslElement aidl = myDslElement.getPropertyElement(AIDL, SourceDirectoryDslElement.class);
if (aidl == null) {
aidl = new SourceDirectoryDslElement(myDslElement, AIDL);
myDslElement.setNewElement(AIDL, aidl);
}
return new SourceDirectoryModel(aidl);
}
use of com.android.tools.idea.gradle.dsl.parser.android.sourceSets.SourceDirectoryDslElement in project android by JetBrains.
the class SourceSetModel method jniLibs.
@NotNull
public SourceDirectoryModel jniLibs() {
SourceDirectoryDslElement jniLibs = myDslElement.getPropertyElement(JNI_LIBS, SourceDirectoryDslElement.class);
if (jniLibs == null) {
jniLibs = new SourceDirectoryDslElement(myDslElement, JNI_LIBS);
myDslElement.setNewElement(JNI_LIBS, jniLibs);
}
return new SourceDirectoryModel(jniLibs);
}
use of com.android.tools.idea.gradle.dsl.parser.android.sourceSets.SourceDirectoryDslElement in project android by JetBrains.
the class SourceSetModel method res.
@NotNull
public SourceDirectoryModel res() {
SourceDirectoryDslElement res = myDslElement.getPropertyElement(RES, SourceDirectoryDslElement.class);
if (res == null) {
res = new SourceDirectoryDslElement(myDslElement, RES);
myDslElement.setNewElement(RES, res);
}
return new SourceDirectoryModel(res);
}
Aggregations