mirror of
				https://github.com/android/ndk-samples
				synced 2025-11-04 14:27:06 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			600 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			600 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
plugins {
 | 
						|
    id "ndksamples.android.application"
 | 
						|
    id "ndksamples.android.kotlin"
 | 
						|
}
 | 
						|
 | 
						|
android {
 | 
						|
    namespace 'com.example.hellojni'
 | 
						|
 | 
						|
    defaultConfig {
 | 
						|
        applicationId 'com.example.hellojni'
 | 
						|
        versionCode 1
 | 
						|
        versionName "1.0"
 | 
						|
    }
 | 
						|
 | 
						|
    externalNativeBuild {
 | 
						|
        cmake {
 | 
						|
            path "src/main/cpp/CMakeLists.txt"
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
    buildFeatures {
 | 
						|
        viewBinding true
 | 
						|
    }
 | 
						|
 | 
						|
    buildFeatures {
 | 
						|
        prefab true
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
dependencies {
 | 
						|
    implementation project(":base")
 | 
						|
    implementation libs.appcompat
 | 
						|
    implementation libs.androidx.constraintlayout
 | 
						|
}
 |