Skip to content

Commit c1a7583

Browse files
committed
Convert to Android Studio build
1 parent 3a4f835 commit c1a7583

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+368
-149
lines changed

.classpath

Lines changed: 0 additions & 9 deletions
This file was deleted.

.gitignore

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1-
/bin/*
1+
# built application files
2+
*.apk
3+
*.ap_
4+
*.aab
5+
output.json
6+
output-metadata.json
7+
out/
8+
9+
# files for the dex VM
10+
*.dex
11+
12+
# Java class files
13+
*.class
14+
15+
# generated files
16+
bin/
17+
gen/
18+
19+
# Local configuration file (sdk path, etc)
20+
local.properties
21+
22+
# Windows thumbnail db
23+
Thumbs.db
24+
25+
# OSX files
26+
.DS_Store
27+
28+
# Eclipse project files
29+
.classpath
30+
.project
31+
32+
# Android Studio
33+
.idea
34+
#.idea/workspace.xml - remove # and delete .idea if it better suit your needs.
35+
.gradle
36+
build/
37+
*.iml
38+
39+
# Compiled JNI libraries folder
40+
**/jniLibs
41+
app/.externalNativeBuild/
42+
43+
# NDK stuff
44+
.cxx/

.project

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/build.gradle

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
namespace "org.cgutman.usbipserverforandroid"
5+
compileSdk 19
6+
7+
defaultConfig {
8+
applicationId "org.cgutman.usbipserverforandroid"
9+
minSdk 12
10+
targetSdk 19
11+
}
12+
13+
buildTypes {
14+
release {
15+
minifyEnabled false
16+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17+
}
18+
}
19+
20+
externalNativeBuild {
21+
ndkBuild {
22+
path "src/main/jni/Android.mk"
23+
}
24+
}
25+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<lint>
33
<issue id="MissingTranslation" severity="ignore" />
44
</lint>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)